]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
kill udevd before switching root
authorHarald Hoyer <harald@redhat.com>
Wed, 4 Mar 2009 16:48:20 +0000 (17:48 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Mar 2009 16:48:20 +0000 (17:48 +0100)
init

diff --git a/init b/init
index 96051410c427be531022829c8acb7d40f5861363..a0e83a7b1338f7470e4780ff3905bd37aba7f088 100755 (executable)
--- a/init
+++ b/init
@@ -103,6 +103,9 @@ INIT=$(getarg init); INIT=${INIT#init=}
 }
            
 source_all pre-pivot
+
+kill $(pidof udevd)
+
 echo "Switching to real root filesystem $root"
 exec switch_root "$NEWROOT" "$INIT"  $CMDLINE || {
     # davej doesn't like initrd bugs