#Check if gateway has answerd to ping, if not replace with ping.ipfire.org
TEST=`/usr/bin/ping -c 2 $5 2>/dev/null | tail -2 | head -1 | cut -d"," -f2`;
#Check if gateway has answerd to ping, if not replace with ping.ipfire.org
TEST=`/usr/bin/ping -c 2 $5 2>/dev/null | tail -2 | head -1 | cut -d"," -f2`;