summaryrefslogtreecommitdiffstats
path: root/src/connections/bond
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/bond')
-rw-r--r--src/connections/bond4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/connections/bond b/src/connections/bond
index 1166fc5..4b038fd 100644
--- a/src/connections/bond
+++ b/src/connections/bond
@@ -11,7 +11,6 @@ bond_up() {
else
ip link add dev $INTERFACE type bond
fi
- bring_interface up "$INTERFACE"
"$CONN_DIR/ethernet" up "$1"
for slave in "${SLAVE_INTERFACES[@]}"; do
@@ -30,8 +29,7 @@ bond_down() {
done
"$CONN_DIR/ethernet" down "$1"
- bring_interface down "$INTERFACE"
- ip link delete "$INTERFACE" &> /dev/null
+ ip link delete "$INTERFACE"
return 0
}