aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit11
1 files changed, 9 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 375e5fe5..4ddd8695 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -144,6 +144,12 @@ else
domainname ""
fi
+if [ -f /fastboot -o grep -q "fastboot" /proc/cmdline 2>/dev/null ]; then
+ fastboot=yes
+ else
+ fastboot=
+fi
+
if [ -f /fsckoptions ]; then
fsckoptions=`cat /fsckoptions`
else
@@ -161,7 +167,8 @@ else
fi
_RUN_QUOTACHECK=0
-if [ ! -f /fastboot ]; then
+if [ -z "$fastboot" ]; then
+
STRING="Checking root filesystem"
echo $STRING
initlog -c "fsck -T -a $fsckoptions /"
@@ -434,7 +441,7 @@ fi
_RUN_QUOTACHECK=0
# Check filesystems
-if [ ! -f /fastboot ]; then
+if [ -z "$fastboot" ]; then
STRING="Checking filesystems"
echo $STRING
initlog -c "fsck -T -R -A -a $fsckoptions"