aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit10
1 files changed, 8 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index eae3f79f..2726d2a8 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -168,11 +168,17 @@ if [ -f /forcefsck ]; then
fsckoptions="-f $fsckoptions"
fi
+if [ "$BOOTUP" != "serial" ]; then
+ fsckoptions="-C $fsckoptions"
+else
+ fsckoptions="-V $fsckoptions"
+fi
+
_RUN_QUOTACHECK=0
if [ ! -f /fastboot ]; then
STRING="Checking root filesystem"
echo $STRING
- initlog -c "fsck -C -T -a $fsckoptions /"
+ initlog -c "fsck -T -a $fsckoptions /"
rc=$?
if [ "$rc" = "0" ]; then
@@ -368,7 +374,7 @@ fi
if [ ! -f /fastboot ]; then
STRING="Checking filesystems"
echo $STRING
- initlog -c "fsck -C -T -R -A -a $fsckoptions"
+ initlog -c "fsck -T -R -A -a $fsckoptions"
rc=$?
if [ "$rc" = "0" ]; then
success "$STRING"