Agregarle 0 al MY_PORT
This commit is contained in:
parent
a076c47133
commit
80d8188e0b
1 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue