Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2669 → Rev 2670

/alcasar.sh
340,7 → 340,7
echo -n "."
# Test EXTIF config files
PUBLIC_IP=`/usr/sbin/ip addr show $EXTIF | grep '^\s*inet\s' | awk '{ print $2 }' | cut -d'/' -f1`
PUBLIC_GATEWAY=`/usr/sbin/ip route list | awk '/^default / {print $3}'`
PUBLIC_GATEWAY=`/usr/sbin/ip route list | awk "(/^default / && \$5 == \"$EXTIF\") {print \$3}"`
if [ `echo $PUBLIC_IP|wc -c` -lt 7 ] || [ `echo $PUBLIC_GATEWAY|wc -c` -lt 7 ]
then
if [ $Lang == "fr" ]