From fac564337b20eb7b4b1a6163a8290c1058d116b1 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Sat, 25 Jun 2011 11:08:05 +0200 Subject: Move fsck executable check into fsck_all() for consistency --- rc.sysinit | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'rc.sysinit') 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 / -- cgit v1.2.3