summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init17
1 files changed, 1 insertions, 16 deletions
diff --git a/init b/init
index 44c10b0..e5af8f3 100644
--- a/init
+++ b/init
@@ -1,5 +1,6 @@
#!/usr/bin/ash
PATH=/usr/bin
+udevd_running=0
. /init_functions
@@ -12,16 +13,6 @@ mkdir -m755 /run/initramfs
# parse the kernel command line
parse_cmdline
-# if available, start udevd at this stage
-if [ -x /usr/lib/udev/udevd ]; then
- msg ":: Starting udevd..."
- /usr/lib/udev/udevd --daemon --resolve-names=never
- udevd_running=1
- msg "done."
-else
- udevd_running=0
-fi
-
for d in ${disablehooks//,/ }; do
[ -e "/hooks/$d" ] && chmod 644 "/hooks/$d"
done
@@ -92,12 +83,6 @@ if [ "${break}" = "postmount" ]; then
launch_interactive_shell
fi
-# Stop udevd if is running
-if [ "${udevd_running}" -eq 1 ]; then
- udevadm control --exit
- udevadm info --cleanup-db
-fi
-
exec env -i "TERM=$TERM" /sbin/switch_root /new_root $init "$@"
# vim: set ft=sh ts=4 sw=4 et: