]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"
authordyoung@redhat.com <dyoung@redhat.com>
Mon, 31 Aug 2015 02:43:19 +0000 (10:43 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 13 Nov 2015 12:22:34 +0000 (13:22 +0100)
This reverts commit 679fa7ed3c0f4c827bfc6885d34f56713fe85c1e.

action_on_fail is useless thus remove the commits for it one by one.

Signed-off-by: Dave Young <dyoung@redhat.com>
modules.d/99fs-lib/fs-lib.sh

index df3803d0e7497e8ba06991f4a24f505a673a6200..672d0276c5427aa0f99212dcf9039d0e7dc2a552 100755 (executable)
@@ -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