Agregarle 0 al MY_PORT

This commit is contained in:
Sandino Araico Sánchez 2022-01-25 01:53:03 -06:00
parent a076c47133
commit 80d8188e0b

View file

@ -17,6 +17,10 @@ if [[ -z $MY_PORT ]] ; then
exit 27
fi
if [[ $MY_PORT -lt 10 ]] ; then
MY_PORT="0$MY_PORT"
fi
for VLAN in {10..4000} ; do
if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then
VLAN_CONF=`grep $SERVER_SERIAL \