summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-13 02:01:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-13 02:01:25 +0000
commitcd0392df20336381da44d4bc9de908ab4f6b92ee (patch)
tree3351a86d56507fdc5b5f5efc0ad6c62d05ccedda /etc/rc
parente3025dde4216f973f6baa48cc5720a9aa6a68867 (diff)
downloadpfsense-cd0392df20336381da44d4bc9de908ab4f6b92ee.zip
pfsense-cd0392df20336381da44d4bc9de908ab4f6b92ee.tar.gz
Use -c
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index c302b6a..baba7bf 100755
--- a/etc/rc
+++ b/etc/rc
@@ -212,19 +212,18 @@ if [ -e /dev/ttyv1 ]; then
/usr/sbin/vidcontrol -S on 2>/dev/null
# Turn off bloody mouse pointer.
/usr/sbin/vidcontrol -m off 2>/dev/null
- env TERM=cons25 /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 &
+ env TERM=cons25 sh -c /etc/rc.initial 2>/dev/ttyv1 </dev/ttyv1 >/dev/ttyv1 &
sleep 1
/usr/sbin/vidcontrol -s 2 2>/dev/null
fi
else
while [ 1 ];
do
- env TERM=cons25 sh "/etc/rc.initial"
+ env TERM=cons25 sh -c "/etc/rc.initial"
done
exit
fi
-
/usr/local/bin/beep.sh start
exit 0
OpenPOWER on IntegriCloud