#!/bin/sh
# -q quiet
# -c nb of pings to perform
ping -q -W1 -w1 $1 > /dev/null

if [ $? -eq 0 ]; then
	echo "PASS"
else
	echo "FAIL"
fi
