don't wait_for_loginit in emergency_shell()
authorWill Woods <wwoods@redhat.com>
Tue, 22 May 2012 22:16:11 +0000 (18:16 -0400)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 May 2012 09:32:45 +0000 (11:32 +0200)
wait_for_loginit ends the log; this is unhelpful if you're using
emergency_shell to do debugging.

Just leave loginit running. It doesn't hurt anything.

modules.d/99base/dracut-lib.sh

index 8a54a7a..8bd18a0 100755 (executable)
@@ -814,7 +814,6 @@ emergency_shell()
     warn $@
     source_hook "$hook"
     echo
-    wait_for_loginit
     [ -e /run/initramfs/.die ] && exit 1
     if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
         echo "Dropping to debug shell."