Browse Source

kill udevd before switching root

master
Harald Hoyer 16 years ago
parent
commit
7fac4e8850
  1. 3
      init

3
init

@ -103,6 +103,9 @@ INIT=$(getarg init); INIT=${INIT#init=}
} }
source_all pre-pivot source_all pre-pivot

kill $(pidof udevd)

echo "Switching to real root filesystem $root" echo "Switching to real root filesystem $root"
exec switch_root "$NEWROOT" "$INIT" $CMDLINE || { exec switch_root "$NEWROOT" "$INIT" $CMDLINE || {
# davej doesn't like initrd bugs # davej doesn't like initrd bugs

Loading…
Cancel
Save