From ad1050964eabbbc00547e8c6c91d8a7c3f13598f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 3 May 2006 02:02:53 +0000 Subject: Merged autodetect changes from tpowa. Removed older subsystem specific scripts, replaced then with 'modload' just to keep the option in place. git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@43 880c04e9-e011-0410-abf7-b926e227c9cd --- init | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'init') diff --git a/init b/init index 5aee024..e1c6ac4 100644 --- a/init +++ b/init @@ -63,6 +63,13 @@ if [ "${break}" = "y" ]; then PS1="ramfs$ " /bin/sh -i fi +#Special handling is udev is running +udevpid=$(/bin/minips -C udevd -o pid=) +if [ "x${udevpid}" != "x" ]; then + /bin/kill -9 $udevpid + /bin/sleep 0.01 +fi + # Optimize fs type loop for mounting rootfs msg ":: Initramfs Completed - control passing to kinit" -- cgit v1.2.3-24-g4f1b