Revert "rename kernel command line param action_on_fail to rd.action_on_fail"

This reverts commit 391d605790.

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:16 +08:00 committed by Harald Hoyer
parent 74c9fb947b
commit 927d1e28c9
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ Misc
specify the controlling terminal for the console.
This is useful, if you have multiple "console=" arguments.

**rd.action_on_fail=**_{shell|continue}_::
**action_on_fail=**_{shell|continue}_::
Specify the action after failure. By default it's emergency_shell.
'continue' means: ignore the current failure and go ahead.


View File

@ -1143,7 +1143,7 @@ emergency_shell()

action_on_fail()
{
local _action=$(getarg rd.action_on_fail= -d action_on_fail=)
local _action=$(getarg action_on_fail=)
case "$_action" in
continue)
[ "$1" = "-n" ] && shift 2