diff options
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index f5fb16f6..5d22ba69 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -57,7 +57,9 @@ if is_bonding_device ${DEVICE} ; then is_ignored_file "$device" && continue /sbin/ifdown ${device##*/} done - + for target in $(cat /sys/class/net/${DEVICE}/bonding/arp_ip_target) ; do + echo "-${target}" > /sys/class/net/${DEVICE}/bonding/arp_ip_target + done fi /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG} |