]> gitweb.fluxo.info Git - hydra.git/commitdiff
Adding ping response into whereis action
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Mar 2014 16:50:26 +0000 (13:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Mar 2014 16:50:26 +0000 (13:50 -0300)
share/hydra/whereis

index ec34e34611647dccd1f1214eecd8e07c3c0ad0a3..c5af5176b743b225f6793fcc0e6c6111c2abada9 100755 (executable)
@@ -90,3 +90,10 @@ if which geoiplookup &> /dev/null; then
   echo ""
   geoiplookup $LAYER.$DOMAIN
 fi
+
+# Service status
+echo ""
+echo "Ping response"
+echo "----------------------------------------------------------------------------------"
+echo ""
+ping -q -n -c 1 $LAYER.$DOMAIN | tail -n 2