summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTobias Powalowski <tobias@T-POWA-LX.(none)>2009-12-13 16:40:04 +0100
committerTobias Powalowski <tobias@T-POWA-LX.(none)>2009-12-13 16:40:04 +0100
commited09661ede164836b9107df192fedc3b84ac00c3 (patch)
tree30df560029261b57a0b05c07b4ea4834d002e881 /init
parent1075a4b2b06f7f529ffd2fe418b8fbf9eabffb27 (diff)
downloadmkinitcpio-ed09661ede164836b9107df192fedc3b84ac00c3.tar.gz
mkinitcpio-ed09661ede164836b9107df192fedc3b84ac00c3.tar.xz
start udevd in init to solve the firmware loading bug
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