summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init7
1 files changed, 7 insertions, 0 deletions
diff --git a/init b/init
index c7aca13..5e1f6fd 100644
--- a/init
+++ b/init
@@ -15,6 +15,13 @@ export kinit_params=""
export root=""
echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
+# if available, start udevd at this stage
+if [ -x /sbin/udevd ]; then
+ msg ":: Starting udevd..."
+ echo > /proc/sys/kernel/hotplug
+ /sbin/udevd --daemon
+fi
+
for cmd in ${CMDLINE}; do
case "${cmd}" in
\#*) break ;; # ignore everything after a # in the commandline