From 89829f6d7c13fa43fc81dc1f2174bce40fc50389 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 13 Aug 2010 17:42:23 -0400 Subject: Fixes bug #332383. Thanks Lutz Heermann. --- net/bonding.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/bonding.sh b/net/bonding.sh index 205af2bc..1a4886eb 100644 --- a/net/bonding.sh +++ b/net/bonding.sh @@ -132,6 +132,12 @@ bonding_stop() done ) + _down + + if [ -d /sys/class/net ]; then + echo "-${IFACE}" > /sys/class/net/bonding_masters + fi + eend 0 return 0 } -- cgit v1.2.3