diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-13 02:01:25 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-13 02:01:25 +0000 |
commit | cd0392df20336381da44d4bc9de908ab4f6b92ee (patch) | |
tree | 3351a86d56507fdc5b5f5efc0ad6c62d05ccedda /etc/rc | |
parent | e3025dde4216f973f6baa48cc5720a9aa6a68867 (diff) | |
download | pfsense-cd0392df20336381da44d4bc9de908ab4f6b92ee.zip pfsense-cd0392df20336381da44d4bc9de908ab4f6b92ee.tar.gz |
Use -c
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |