Descomentado ethtool

This commit is contained in:
Jonatan Mur 2021-09-22 15:11:41 -05:00
parent 131af145be
commit 931b8500bb

View file

@ -52,11 +52,11 @@ for VLAN in $VLANS ; do
fi
ip link set $VLAN_BOND up
[[ -n $MTU ]] && ip link set $VLAN_BOND mtu $MTU
#if [[ -n $SPEED ]] ; then
# ethtool -s $SLAVE_0 autoneg off speed $SPEED duplex full
# ethtool -s $SLAVE_1 autoneg off speed $SPEED duplex full
#fi
#sleep 5
if [[ -n $SPEED ]] ; then
ethtool -s $SLAVE_0 autoneg off speed $SPEED duplex full
ethtool -s $SLAVE_1 autoneg off speed $SPEED duplex full
fi
sleep 5
ifenslave $VLAN_BOND $SLAVE_0 $SLAVE_1
sleep 5
fi