summaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-06-22 22:08:30 +0000
committerBill Nottingham <notting@redhat.com>2007-06-22 22:08:30 +0000
commit5e2ed679cd3eb2aa3d6bd1cf9907f7736ac78434 (patch)
treea2b763ae21bd1782cbf63186aad83ecc5127ed02 /sysconfig
parent46c0123b4cd853adc15730654c120769f23ef206 (diff)
- init.d/network, network-functions: don't fiddle with hotplug settings (#185569, #209307)
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index b8ba825c..640f010e 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -184,13 +184,7 @@ is_available ()
if [ -z "$alias" -o "$alias" = "off" -o "$alias" = "/bin/true" ]; then
return 2
fi
- HOTPLUG=`cat /proc/sys/kernel/hotplug`
- echo "/etc/hotplug/firmware.agent" > /proc/sys/kernel/hotplug
- modprobe $1 > /dev/null 2>&1 || {
- echo "$HOTPLUG" > /proc/sys/kernel/hotplug
- return 1
- }
- echo "$HOTPLUG" > /proc/sys/kernel/hotplug
+ modprobe $1 > /dev/null 2>&1 || return 1
# if it is a mainframe ccwgroup device, configure it before
# trying to rename it:
need_config ${1}