kill udevd before switching root

This commit is contained in:
Harald Hoyer 2009-03-04 17:48:20 +01:00
parent 7702658f5e
commit 7fac4e8850

3
init
View File

@ -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