]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init: stop udev exec queue before killing it
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 13:17:59 +0000 (15:17 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 13:17:59 +0000 (15:17 +0200)
modules.d/99base/init

index a3b26c22b87d948d584fb4dbae580fc8fdeb7a18..a814446608f02bf8acebb416c055c328e88eca3c 100755 (executable)
@@ -191,6 +191,9 @@ done
 
 getarg rdbreak && emergency_shell "Break before switch_root"
 
+# stop udev queue before killing it
+udevadm control --stop-exec-queue
+
 HARD=""
 while pidof udevd >/dev/null 2>&1; do 
     for pid in $(pidof udevd); do