From: dyoung@redhat.com Date: Mon, 31 Aug 2015 02:43:19 +0000 (+0800) Subject: Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck" X-Git-Tag: 044~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6dfde78303ed20a4d8b3e7b77a447e7e12cbbba;p=thirdparty%2Fdracut.git Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck" This reverts commit 679fa7ed3c0f4c827bfc6885d34f56713fe85c1e. action_on_fail is useless thus remove the commits for it one by one. Signed-off-by: Dave Young --- diff --git a/modules.d/99fs-lib/fs-lib.sh b/modules.d/99fs-lib/fs-lib.sh index df3803d0e..672d0276c 100755 --- a/modules.d/99fs-lib/fs-lib.sh +++ b/modules.d/99fs-lib/fs-lib.sh @@ -5,14 +5,14 @@ type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh fsck_ask_reboot() { info "note - fsck suggests reboot, if you" info "leave shell, booting will continue normally" - action_on_fail -n "(reboot ?)" + emergency_shell -n "(reboot ?)" } fsck_ask_err() { warn "*** An error occurred during the file system check." warn "*** Dropping you to a shell; the system will try" warn "*** to mount the filesystem(s), when you leave the shell." - action_on_fail -n "(Repair filesystem)" + emergency_shell -n "(Repair filesystem)" } # inherits: _ret _drv _out