From e675625187202c213c52cfe61ddef6aa8e2b6e5d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 24 Dec 2013 13:04:13 -0200 Subject: Remove /var/run/booting early to be consistent with $g['booting'] --- etc/rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.1