diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-25 11:08:05 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-28 15:39:42 +0200 |
commit | fac564337b20eb7b4b1a6163a8290c1058d116b1 (patch) | |
tree | 921b1b0fbdad4ab26070c551988959f30a36d8b1 /rc.sysinit | |
parent | 7788571a9854b58c9bee058a36db4b1d0d41f614 (diff) | |
download | initscripts-fac564337b20eb7b4b1a6163a8290c1058d116b1.tar.xz |
Move fsck executable check into fsck_all() for consistency
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 / |