summaryrefslogtreecommitdiffstats
path: root/etc
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:04:13 -0200
commit5551d818eeb95926f7c43303b1046d24b19cb78d (patch)
tree5b42ab13d7d40707cd03f4c215d0af65ea08b7f4 /etc
parent677a64261cff92e301a3539addc1f1db1e015dbe (diff)
downloadpfsense-5551d818eeb95926f7c43303b1046d24b19cb78d.zip
pfsense-5551d818eeb95926f7c43303b1046d24b19cb78d.tar.gz
Remove /var/run/booting early to be consistent with $g['booting']
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 2e1bfba..95b73b0 100755
--- a/etc/rc
+++ b/etc/rc
@@ -402,6 +402,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
@@ -430,7 +434,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