/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 <[email protected]>
---
 rc.sysinit |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index cd24c46..69fdab3 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
 
-- 
1.7.4.2

Reply via email to