Descomentado ethtool
This commit is contained in:
parent
131af145be
commit
931b8500bb
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue