In spanish version you have only to change:
MASK=`LANG=C /sbin/ifconfig $IF | grep Mas | cut -d : -f 4`
for:
MASK=`LANG=C /sbin/ifconfig $IF | grep Más | cut -d : -f 4`
With tilde in "Más". It worked for me.
In spanish version you have only to change:
MASK=`LANG=C /sbin/ifconfig $IF | grep Mas | cut -d : -f 4`
for:
MASK=`LANG=C /sbin/ifconfig $IF | grep Más | cut -d : -f 4`
With tilde in "Más". It worked for me.