summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-01-23 16:58:07 +0100
committerTom Gundersen <teg@jklm.no>2011-04-01 15:13:57 +0200
commitcb6da84bfc2aaf23233cdaf2fcefe886c5961390 (patch)
treec5e17b1cf24f27f4f3286fb9e561ed9528831483
parent62e2a205da88b1bd1df136b138a2db82088c9285 (diff)
hotplug: properly clear the path to hotplug/uevent_helper
/proc/sys/kerne/hotplug has been deprecated (moved to /sys/kernel/uevent_helper) since 2.6.16. This updates it. Note, this should not be necessary, as there is no reason this string should not already be empty. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 12b28ea..6ed8e1a 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -72,9 +72,8 @@ if [[ $HWCLOCK_PARAMS ]]; then
fi
fi
-echo > /proc/sys/kernel/hotplug
-
stat_busy "Starting UDev Daemon"
+echo "" > /sys/kernel/uevent_helper
/sbin/udevd --daemon
stat_done