aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}