diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-08-05 15:33:08 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-08-19 14:11:06 +0200 |
commit | 4e2971ae366d192a892db979fcac02106b4579ff (patch) | |
tree | d3e136d90f9fa0df0279cb4aa271dbfdd835a905 /sysconfig/network-scripts/network-functions | |
parent | 28836ffca41162cdcabf518a280c31b641a0fab2 (diff) | |
download | initscripts-4e2971ae366d192a892db979fcac02106b4579ff.tar initscripts-4e2971ae366d192a892db979fcac02106b4579ff.tar.gz initscripts-4e2971ae366d192a892db979fcac02106b4579ff.tar.bz2 initscripts-4e2971ae366d192a892db979fcac02106b4579ff.tar.xz initscripts-4e2971ae366d192a892db979fcac02106b4579ff.zip |
install_bonding_driver: drop check for existing device (#991335)
Install_bonding_driver is now doing more that loading kernel driver,
so that check is not correct.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 1cb26d1b..c699fc0d 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -428,7 +428,6 @@ is_wireless_device () install_bonding_driver () { - [ -d "/sys/class/net/$1" ] && return 0 [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 ) if ! grep -sq "$1" /sys/class/net/bonding_masters; then echo "+$1" > /sys/class/net/bonding_masters 2>/dev/null |