@ -10,7 +10,7 @@ mtpath=$(dirname $0)
if [ -f $pwf ]; then pas=$(cat $pwf); fi
check_host() {
if [ ! -x $(which nc) ]; then return 0; fi
if nc -z $1 $2; then return 0; fi
if ping -q -c 1 -w 5 $1 >/dev/null 2>&1 ; then return 0; fi
return 1
}