diff options
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index a6bbf1de..ad106fb3 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -178,10 +178,7 @@ is_available () if [ -z "$alias" -o "$alias" = "off" ]; then return 2 fi - HOTPLUG=`cat /proc/sys/kernel/hotplug` - echo "/bin/true" > /proc/sys/kernel/hotplug modprobe $1 > /dev/null 2>&1 || return 1 - echo "$HOTPLUG" > /proc/sys/kernel/hotplug if [ -n "$HWADDR" ]; then local curdev=`ip -o link | awk -F ':' -vIGNORECASE=1 '/$HWADDR/ { print $2 }'` rename_device "$1" "$HWADDR" "$curdev" |