diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-18 20:52:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-18 20:52:02 +0000 |
commit | ee8269c53d600cc20dfb90d4c061ca61559e10ac (patch) | |
tree | 75dd43fc57222a2550719096d4740a41caa2ac23 /sysconfig/network-scripts/ifdown-eth | |
parent | 29ab1c774b9b615c3d5c6f8cd801a2d6fa531d78 (diff) | |
download | initscripts-ee8269c53d600cc20dfb90d4c061ca61559e10ac.tar initscripts-ee8269c53d600cc20dfb90d4c061ca61559e10ac.tar.gz initscripts-ee8269c53d600cc20dfb90d4c061ca61559e10ac.tar.bz2 initscripts-ee8269c53d600cc20dfb90d4c061ca61559e10ac.tar.xz initscripts-ee8269c53d600cc20dfb90d4c061ca61559e10ac.zip |
use sysfs interface for bonding (#202443, <agospoda@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index 826fd309..efcd13d8 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -96,7 +96,7 @@ if [ -d "/sys/class/net/${REALDEVICE}" ]; then fi if [ "${SLAVE}" = "yes" -a -n "${MASTER}" ]; then - /sbin/ifenslave -d ${MASTER} ${DEVICE} 2>/dev/null + echo "-${DEVICE}" > /sys/class/net/${MASTER}/bonding/slaves 2>/dev/null fi if [ "${REALDEVICE}" = "${DEVICE}" ]; then |