From d592d59eb4e7dbf8ce6dc84b3f4c0026fd7cc60c Mon Sep 17 00:00:00 2001 From: Joe MacDonald Date: Fri, 20 Feb 2015 21:07:47 -0500 Subject: [PATCH] sandbox: de-bashify There's no bashisms apparent in either the sandbox initscript nor the sandboxX script, so point them at /bin/sh instead. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Joe MacDonald Signed-off-by: Wenzong Fan Signed-off-by: Yi Zhao --- sandbox.init | 2 +- sandboxX.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox.init b/sandbox.init index b3979bf..1893dc8 100644 --- a/sandbox.init +++ b/sandbox.init @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh ## BEGIN INIT INFO # Provides: sandbox # Default-Start: 3 4 5 diff --git a/sandboxX.sh b/sandboxX.sh index eaa500d..8755d75 100644 --- a/sandboxX.sh +++ b/sandboxX.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh trap "" TERM context=`id -Z | secon -t -l -P` export TITLE="Sandbox $context -- `grep ^#TITLE: ~/.sandboxrc | /usr/bin/cut -b8-80`" -- 2.25.1