summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-12 20:30:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-12 20:30:43 +0000
commit3b3549309b81df80c101a9fdbd971dd8336ce78f (patch)
treee64d0a12817aedc38613fc8bf778f632bfbbddcc /etc
parent5aaad66376cc3dfa9a83666156fca9e62649aa0e (diff)
downloadpfsense-3b3549309b81df80c101a9fdbd971dd8336ce78f.zip
pfsense-3b3549309b81df80c101a9fdbd971dd8336ce78f.tar.gz
* check_reload_status is a real daemon now, don't redirect stdout and don't &
* start package rc.d files in the exact same way as the rc.d script in /etc/
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index b240671..42e556c 100755
--- a/etc/rc
+++ b/etc/rc
@@ -195,7 +195,9 @@ if [ ! "$PLATFORM" = "cdrom" ]; then
for FILE in /usr/local/etc/rc.d/*.sh; do
echo -n " Starting ${FILE}..."
- sh $FILE start >>/tmp/bootup_messages 2>&1
+ (set -T
+ trap 'exit 1' 2
+ sh $FILE start start)
echo "done."
done
fi
@@ -204,7 +206,7 @@ rm -rf /usr/local/pkg/pf/CVS
/usr/local/bin/php -f /etc/rc.conf_mount_ro
-/usr/local/sbin/check_reload_status >/dev/null &
+/usr/local/sbin/check_reload_status
echo "Bootup complete"
OpenPOWER on IntegriCloud