diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 4bf820d4..543e7c4d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -115,14 +115,13 @@ fi cmdline=$(cat /proc/cmdline) # Initialize hardware +sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 if [ -f /proc/sys/kernel/modprobe ]; then if ! strstr "$cmdline" nomodules && [ -f /proc/modules ] ; then sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1 - sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 else # We used to set this to NULL, but that causes 'failed to exec' messages" sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1 - sysctl -w kernel.hotplug="/bin/true" >/dev/null 2>&1 fi fi |