diff options
author | Bill Nottingham <notting@redhat.com> | 2005-06-20 16:24:58 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-06-20 16:24:58 +0000 |
commit | c399bafe667f2c48a982a4038734fa6b7b5688c2 (patch) | |
tree | ac57f96402009b3b174e58500e57b22ddffc5ee0 | |
parent | f5487d4c226df2beb27565f6e849b476b8d4826c (diff) | |
download | initscripts-c399bafe667f2c48a982a4038734fa6b7b5688c2.tar initscripts-c399bafe667f2c48a982a4038734fa6b7b5688c2.tar.gz initscripts-c399bafe667f2c48a982a4038734fa6b7b5688c2.tar.bz2 initscripts-c399bafe667f2c48a982a4038734fa6b7b5688c2.tar.xz initscripts-c399bafe667f2c48a982a4038734fa6b7b5688c2.zip |
always use udevsend, even if no modules (#160987)
-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 |