aboutsummaryrefslogtreecommitdiff
path: root/net/bonding.sh
diff options
context:
space:
mode:
authorAnthony G. Basile <basile@opensource.dyc.edu>2010-08-13 17:42:23 -0400
committerAnthony G. Basile <basile@opensource.dyc.edu>2010-08-13 17:42:23 -0400
commit89829f6d7c13fa43fc81dc1f2174bce40fc50389 (patch)
treeb7bd846c598b6cad35e9753694917916ebe40e4c /net/bonding.sh
parent6e3b3bfc5371d72c1bc436f7bc7c12cb2d1a81b1 (diff)
Fixes bug #332383. Thanks Lutz Heermann.
Diffstat (limited to 'net/bonding.sh')
-rw-r--r--net/bonding.sh6
1 files changed, 6 insertions, 0 deletions
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
}