aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit10
1 files changed, 4 insertions, 6 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 9b2a009..3fe7185 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -176,12 +176,10 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
(( crypto_unlocked == 1 )) && activate_vgs
fi
-if [[ -x $(type -P fsck) ]]; then
- # Check filesystems
- fsck_all
- # Single-user login and/or automatic reboot if needed
- fsck_reboot $?
-fi
+# Check filesystems
+fsck_all
+# Single-user login and/or automatic reboot if needed
+fsck_reboot $?
status "Remounting Root Read/Write" \
mount -n -o remount,rw /