aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-08-05 15:33:08 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-08-05 15:33:08 +0200
commit7648a78fc9f973b111776ff8ddb32f5108f6a985 (patch)
tree32a12dcedbc6ff11e8d8aff86eba4b9bb048fa00 /sysconfig
parent0721d2cefd672da45402d6d558384e52a4ed8376 (diff)
downloadinitscripts-7648a78fc9f973b111776ff8ddb32f5108f6a985.tar
initscripts-7648a78fc9f973b111776ff8ddb32f5108f6a985.tar.gz
initscripts-7648a78fc9f973b111776ff8ddb32f5108f6a985.tar.bz2
initscripts-7648a78fc9f973b111776ff8ddb32f5108f6a985.tar.xz
initscripts-7648a78fc9f973b111776ff8ddb32f5108f6a985.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')
-rw-r--r--sysconfig/network-scripts/network-functions1
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