10 Jul
2011
10 Jul
'11
6:56 p.m.
This prevents sysinit_prefsck hooks from overwriting the value. --- rc.sysinit | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/rc.sysinit b/rc.sysinit index c3610dc..f64c9ad 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -179,6 +179,7 @@ FSCK_ERR=/dev/stdout FSCK_FD= FORCEFSCK= [[ -f /forcefsck ]] || is_in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f" +declare -r FORCEFSCK run_hook sysinit_prefsck if [[ -x $(type -P fsck) ]]; then stat_busy "Checking Filesystems" -- 1.7.1