aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-18 20:52:02 +0000
committerBill Nottingham <notting@redhat.com>2006-10-18 20:52:02 +0000
commitee8269c53d600cc20dfb90d4c061ca61559e10ac (patch)
tree75dd43fc57222a2550719096d4740a41caa2ac23 /sysconfig/network-scripts/ifdown-eth
parent29ab1c774b9b615c3d5c6f8cd801a2d6fa531d78 (diff)
downloadinitscripts-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-xsysconfig/network-scripts/ifdown-eth2
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