]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init.sh: reset main loop counter, if work is in initqueue
authorHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 16:09:24 +0000 (17:09 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 16:29:12 +0000 (17:29 +0100)
modules.d/99base/init.sh

index 82adfe09fc4311b182a57b5e568d30286d8ce4f5..3b17aaa555e315fe1b2330b4ec06a022992c13f4 100755 (executable)
@@ -189,6 +189,7 @@ while :; do
             [ -e "$job" ] || break
             job=$job . $job
             udevadm settle --timeout=0 >/dev/null 2>&1 || main_loop=0
+            [ -f $hookdir/initqueue/work ] && main_loop=0
         done
     fi