aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-12-21 22:43:22 +0000
committerBill Nottingham <notting@redhat.com>2005-12-21 22:43:22 +0000
commit4c808a519b915dee8be333e6926bcda294efe8c1 (patch)
tree9a612eac965a9772490a8c3c32458fde1692dae4 /sysconfig
parent3188d78b93c77011af7ea4b3251a899e3d445e66 (diff)
downloadinitscripts-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-functions4
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