From 931b8500bb59a817a5d007aec384039a317cf67e Mon Sep 17 00:00:00 2001 From: Jonatan Mur Date: Wed, 22 Sep 2021 15:11:41 -0500 Subject: [PATCH] Descomentado ethtool --- scripts/setup-netdev | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/setup-netdev b/scripts/setup-netdev index a616b48..4b64781 100755 --- a/scripts/setup-netdev +++ b/scripts/setup-netdev @@ -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