diff options
| author | Bill Nottingham <notting@redhat.com> | 2006-10-18 20:51:30 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2006-10-18 20:51:30 +0000 |
| commit | 4ca7339fd0b96d4a26f04395c668f88c2015937d (patch) | |
| tree | 2886c58be0fa0c06468df8da7931b9586dba7f45 /sysconfig/network-scripts/ifdown-eth | |
| parent | 1c7bb9d0af3934db9d2761c64ae8745f999ac4dd (diff) | |
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 |
