diff options
author | Bill Nottingham <notting@redhat.com> | 2005-12-21 22:43:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-12-21 22:43:22 +0000 |
commit | 4c808a519b915dee8be333e6926bcda294efe8c1 (patch) | |
tree | 9a612eac965a9772490a8c3c32458fde1692dae4 /sysconfig | |
parent | 3188d78b93c77011af7ea4b3251a899e3d445e66 (diff) | |
download | initscripts-4c808a519b915dee8be333e6926bcda294efe8c1.tar initscripts-4c808a519b915dee8be333e6926bcda294efe8c1.tar.gz initscripts-4c808a519b915dee8be333e6926bcda294efe8c1.tar.bz2 initscripts-4c808a519b915dee8be333e6926bcda294efe8c1.tar.xz initscripts-4c808a519b915dee8be333e6926bcda294efe8c1.zip |
udev now loads modules - use that, remove the kmodule stuff
don't set hotplug, it can't possibly work
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index a42846a1..d72283ad 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -183,13 +183,9 @@ is_available () if [ -z "$alias" -o "$alias" = "off" -o "$alias" = "/bin/true" ]; then return 2 fi - HOTPLUG=`cat /proc/sys/kernel/hotplug 2>/dev/null` - echo "/etc/hotplug/firmware.agent" > /proc/sys/kernel/hotplug modprobe $1 > /dev/null 2>&1 || { - [ -f /proc/sys/kernel/hotplug ] && echo "$HOTPLUG" > /proc/sys/kernel/hotplug return 1 } - [ -f /proc/sys/kernel/hotplug ] && echo "$HOTPLUG" > /proc/sys/kernel/hotplug # if it is a mainframe ccwgroup device, configure it before # trying to rename it: configure_ccwgroup_device |