diff options
author | Bill Nottingham <notting@redhat.com> | 2007-02-22 16:34:18 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-02-22 16:34:18 +0000 |
commit | 56d85cc68cb53d3cf49a85a7716bf6a58b13d133 (patch) | |
tree | 39445d079c094c8f21b55e19970a10fe264a1059 /sysconfig/network-scripts | |
parent | 83fed2c63b68d2dd9c760157485f7afd0961b3b4 (diff) | |
download | initscripts-56d85cc68cb53d3cf49a85a7716bf6a58b13d133.tar initscripts-56d85cc68cb53d3cf49a85a7716bf6a58b13d133.tar.gz initscripts-56d85cc68cb53d3cf49a85a7716bf6a58b13d133.tar.bz2 initscripts-56d85cc68cb53d3cf49a85a7716bf6a58b13d133.tar.xz initscripts-56d85cc68cb53d3cf49a85a7716bf6a58b13d133.zip |
fix logic
Diffstat (limited to 'sysconfig/network-scripts')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 5791c611..9ef2134c 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -391,7 +391,7 @@ is_wireless_device () install_bonding_driver () { ethtool -i $1 2>/dev/null | grep -q "driver: bonding" && return 0 - [ ! -f /sys/class/net/bonding_masters ] && modprobe bonding || return 1 + [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 ) echo "+$1" > /sys/class/net/bonding_masters return 0 } |