summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-24 13:04:13 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-24 13:06:44 -0200
commite675625187202c213c52cfe61ddef6aa8e2b6e5d (patch)
tree72cc0a356a570ebb77f9f8b47fefe7d5b0530b54
parentf9dfaeaeb2cc4f38dfe4d8b6ee6af5c8015a4ec6 (diff)
downloadpfsense-e675625187202c213c52cfe61ddef6aa8e2b6e5d.zip
pfsense-e675625187202c213c52cfe61ddef6aa8e2b6e5d.tar.gz
Remove /var/run/booting early to be consistent with $g['booting']
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 9baac4e..1580f09 100755
--- a/etc/rc
+++ b/etc/rc
@@ -400,6 +400,10 @@ echo -n "Launching the init system..."
/usr/bin/touch $varrunpath/booting
/etc/rc.bootup
+# /etc/rc.bootup unset $g['booting'], remove file right now to be
+# consistent
+/bin/rm $varrunpath/booting
+
# If a shell was selected from recovery
# console then just drop to the shell now.
if [ -f "/tmp/donotbootup" ]; then
@@ -428,7 +432,6 @@ echo "done."
/bin/chmod a+rw /tmp/.
echo "Bootup complete"
-/bin/rm $varrunpath/booting
/usr/local/bin/beep.sh start 2>&1 >/dev/null
OpenPOWER on IntegriCloud