Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"

This reverts commit 679fa7ed3c.

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

Signed-off-by: Dave Young <dyoung@redhat.com>
master
dyoung@redhat.com 2015-08-31 10:43:19 +08:00 committed by Harald Hoyer
parent 946722e465
commit d6dfde7830
1 changed files with 2 additions and 2 deletions

View File

@ -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