
##this can be replaced by using upstart to not start groovix startup until
# at least one network device is up, but then the scripts < 25 won't get a 
# chance to run pre-network setup

#now we wait with systemd After=network-online.target
#echo "waiting for network availability at `date`"
#groovix-wait-for-network

#give the interface 2 seconds before testing
#sleep 2

#ls -l /var/run/groovix/
#if [ -e /var/run/groovix/network-timed-out ] ; then
#	echo timed out waiting for network so not even testing network connectivity
#else
#	# test network
#	echo "testing network connectivity at `date`"
#	groovix-test-network
#fi

groovix-test-network

