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
parent
946722e465
commit
d6dfde7830
|
@ -5,14 +5,14 @@ type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
|
||||||
fsck_ask_reboot() {
|
fsck_ask_reboot() {
|
||||||
info "note - fsck suggests reboot, if you"
|
info "note - fsck suggests reboot, if you"
|
||||||
info "leave shell, booting will continue normally"
|
info "leave shell, booting will continue normally"
|
||||||
action_on_fail -n "(reboot ?)"
|
emergency_shell -n "(reboot ?)"
|
||||||
}
|
}
|
||||||
|
|
||||||
fsck_ask_err() {
|
fsck_ask_err() {
|
||||||
warn "*** An error occurred during the file system check."
|
warn "*** An error occurred during the file system check."
|
||||||
warn "*** Dropping you to a shell; the system will try"
|
warn "*** Dropping you to a shell; the system will try"
|
||||||
warn "*** to mount the filesystem(s), when you leave the shell."
|
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
|
# inherits: _ret _drv _out
|
||||||
|
|
Loading…
Reference in New Issue