diff options
| author | Bill Nottingham <notting@redhat.com> | 2007-06-22 22:08:30 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2007-06-22 22:08:30 +0000 |
| commit | 5e2ed679cd3eb2aa3d6bd1cf9907f7736ac78434 (patch) | |
| tree | a2b763ae21bd1782cbf63186aad83ecc5127ed02 /sysconfig | |
| parent | 46c0123b4cd853adc15730654c120769f23ef206 (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-functions | 8 |
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} |
