mirror of
https://github.com/unraid/webgui.git
synced 2026-01-09 02:59:52 -06:00
network: fixed bonding with latest kernel modifications
This commit is contained in:
@@ -175,8 +175,8 @@ bond_up(){
|
||||
for BONDIF in ${BONDNICS[$i]}; do
|
||||
if [[ -e $SYSTEM/$BONDIF ]]; then
|
||||
[[ -z $PRIMARY ]] && PRIMARY=$BONDIF
|
||||
run ip link set $BONDIF down
|
||||
run ip link set $BONDIF master ${BONDNAME[$i]} up type bond_slave
|
||||
run ip link set $BONDIF up
|
||||
run ip link set $BONDIF master ${BONDNAME[$i]} down type bond_slave
|
||||
else
|
||||
[[ $DEBUG_ETH_UP == yes ]] && log "interface $BONDIF not present, can't add to ${BONDNAME[$i]}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user