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
|
fi
|
||||||
ip link set $VLAN_BOND up
|
ip link set $VLAN_BOND up
|
||||||
[[ -n $MTU ]] && ip link set $VLAN_BOND mtu $MTU
|
[[ -n $MTU ]] && ip link set $VLAN_BOND mtu $MTU
|
||||||
#if [[ -n $SPEED ]] ; then
|
if [[ -n $SPEED ]] ; then
|
||||||
# ethtool -s $SLAVE_0 autoneg off speed $SPEED duplex full
|
ethtool -s $SLAVE_0 autoneg off speed $SPEED duplex full
|
||||||
# ethtool -s $SLAVE_1 autoneg off speed $SPEED duplex full
|
ethtool -s $SLAVE_1 autoneg off speed $SPEED duplex full
|
||||||
#fi
|
fi
|
||||||
#sleep 5
|
sleep 5
|
||||||
ifenslave $VLAN_BOND $SLAVE_0 $SLAVE_1
|
ifenslave $VLAN_BOND $SLAVE_0 $SLAVE_1
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue