From 5e2ed679cd3eb2aa3d6bd1cf9907f7736ac78434 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 22 Jun 2007 22:08:30 +0000 Subject: - init.d/network, network-functions: don't fiddle with hotplug settings (#185569, #209307) --- rc.d/init.d/network | 6 ------ 1 file changed, 6 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 89b82381..75db3646 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -85,10 +85,6 @@ case "$1" in ;; esac - oldhotplug=`sysctl kernel.hotplug 2>/dev/null | \ - awk '{ print $3 }' 2>/dev/null` - sysctl -w kernel.hotplug="/etc/hotplug/firmware.agent" > /dev/null 2>&1 - vlaninterfaces="" cipeinterfaces="" xdslinterfaces="" @@ -158,8 +154,6 @@ case "$1" in fi done - sysctl -w kernel.hotplug=$oldhotplug > /dev/null 2>&1 - # Add non interface-specific static-routes. if [ -f /etc/sysconfig/static-routes ]; then grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do -- cgit v1.2.1