diff options
author | Bill Nottingham <notting@redhat.com> | 2004-11-02 05:17:28 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-11-02 05:17:28 +0000 |
commit | 12a4be6288adef4d39fd16f5472dbd733230ad41 (patch) | |
tree | a0e3132818ae59b8fb3cfa0877b82777f96b2d84 /rc.d | |
parent | 14749d001aead74d2a21263048c2bff8f53ad1bd (diff) | |
download | initscripts-12a4be6288adef4d39fd16f5472dbd733230ad41.tar initscripts-12a4be6288adef4d39fd16f5472dbd733230ad41.tar.gz initscripts-12a4be6288adef4d39fd16f5472dbd733230ad41.tar.bz2 initscripts-12a4be6288adef4d39fd16f5472dbd733230ad41.tar.xz initscripts-12a4be6288adef4d39fd16f5472dbd733230ad41.zip |
remove delay on unclean startup - rely on autofsck/forcefsck
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index fe72fd27..0c581f05 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -320,35 +320,10 @@ fi if [ -f /forcefsck ] || strstr "$cmdline" forcefsck ; then fsckoptions="-f $fsckoptions" elif [ -f /.autofsck ]; then - if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then - chvt 1 - fi - echo $"Your system appears to have shut down uncleanly" - AUTOFSCK_TIMEOUT=5 [ -f /etc/sysconfig/autofsck ] && . /etc/sysconfig/autofsck if [ "$AUTOFSCK_DEF_CHECK" = "yes" ]; then AUTOFSCK_OPT=-f fi - - if [ "$PROMPT" != "no" ]; then - if [ "$AUTOFSCK_DEF_CHECK" = "yes" ]; then - if /sbin/getkey -c $AUTOFSCK_TIMEOUT -m $"Press N within %d seconds to not force file system integrity check..." n ; then - AUTOFSCK_OPT= - fi - else - if /sbin/getkey -c $AUTOFSCK_TIMEOUT -m $"Press Y within %d seconds to force file system integrity check..." y ; then - AUTOFSCK_OPT=-f - fi - fi - echo - else - # PROMPT not allowed - if [ "$AUTOFSCK_DEF_CHECK" = "yes" ]; then - echo $"Forcing file system integrity check due to default setting" - else - echo $"Not forcing file system integrity check due to default setting" - fi - fi fsckoptions="$AUTOFSCK_OPT $fsckoptions" fi |