summaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-18 20:51:30 +0000
committerBill Nottingham <notting@redhat.com>2006-10-18 20:51:30 +0000
commit4ca7339fd0b96d4a26f04395c668f88c2015937d (patch)
tree2886c58be0fa0c06468df8da7931b9586dba7f45 /sysconfig/network-scripts/ifdown-eth
parent1c7bb9d0af3934db9d2761c64ae8745f999ac4dd (diff)
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