rename kernel command line param action_on_fail to rd.action_on_fail
authorHarald Hoyer <harald@redhat.com>
Wed, 12 Jun 2013 11:16:33 +0000 (13:16 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 12 Jun 2013 11:16:33 +0000 (13:16 +0200)
dracut.cmdline.7.asc
modules.d/99base/dracut-lib.sh

index 4626279dc0246f5ed26cf5b0fc92e11b2a4547bf..c1a570c3817a1207c2b5db6930e09c99d96800d7 100644 (file)
@@ -121,7 +121,7 @@ Misc
    specify the controlling terminal for the console.
    This is useful, if you have multiple "console=" arguments.
 
-**action_on_fail=**_{shell|continue}_::
+**rd.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.
 
index d20ce673a05cd3073615dff3b9dba02c376e5f53..581b63a08382ebd046080a683a03df71f0f057fd 100755 (executable)
@@ -1000,7 +1000,7 @@ emergency_shell()
 
 action_on_fail()
 {
-    local _action=$(getarg action_on_fail=)
+    local _action=$(getarg rd.action_on_fail= -d action_on_fail=)
     case "$_action" in
         continue)
             [ "$1" = "-n" ] && shift 2