]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init: rd.shell=1 per default
authorHarald Hoyer <harald@redhat.com>
Fri, 29 Oct 2010 11:24:12 +0000 (13:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Oct 2010 11:24:12 +0000 (13:24 +0200)
to securely lock a machine, the admin has to set rd.shell=0!

modules.d/99base/init

index 63d17abc2591776d8592b69ead75e456677489a2..ffa46aab15d896336b106725947ddf8b5c4f4123 100755 (executable)
@@ -48,7 +48,7 @@ emergency_shell()
     echo $@
     source_all emergency
     echo
-    if getargbool 0 rd.shell -y rdshell || getarg rd.break rdbreak; then
+    if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
         echo "Dropping to debug shell."
         echo
         export PS1="$_rdshell_name:\${PWD}# "