summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-05-11 11:03:03 -0400
committerjim-p <jimp@pfsense.org>2010-05-11 11:05:33 -0400
commit1f0f301c7688769f33f6f97906e03c4e9eda7d7a (patch)
treeed3787044eb00fec2b677fc1cfda45d5299da660 /etc/rc
parent24d5fc0aa332b86a81f520eeef6232bf5b5fe745 (diff)
downloadpfsense-1f0f301c7688769f33f6f97906e03c4e9eda7d7a.zip
pfsense-1f0f301c7688769f33f6f97906e03c4e9eda7d7a.tar.gz
Make /var/run/booting exist for more of the actual booting process. Ticket #53.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index ac3b8b5..6f6630c 100755
--- a/etc/rc
+++ b/etc/rc
@@ -43,6 +43,7 @@ fi
product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4`
hideplatform=`cat /etc/inc/globals.inc | grep hideplatform | wc -l`
+varrunpath=`cat /etc/inc/globals.inc | grep varrun_path | cut -d'"' -f4`
if [ "$hideplatform" -gt "0" ]; then
platformbanner="" # hide the platform
@@ -324,6 +325,7 @@ cap_mkdb /etc/login.conf
echo -n "Launching the init system..."
rm -f /cf/conf/backup/backup.cache
rm -f /root/lighttpd*
+touch $varrunpath/booting
/etc/rc.bootup
# If a shell was selected from recovery
@@ -360,6 +362,7 @@ minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
/bin/chmod a+rw /tmp/.
echo "Bootup complete"
+rm $varrunpath/booting
/usr/local/bin/beep.sh start 2>&1 >/dev/null
OpenPOWER on IntegriCloud