[arch-projects] [PATCH 03/10] hotplug: properly clear the path to hotplug/uevent_helper

Tom Gundersen teg at jklm.no
Wed Mar 30 14:01:24 EDT 2011


/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 at jklm.no>
---
 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



More information about the arch-projects mailing list