diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-28 13:50:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-28 13:50:26 -0300 |
commit | b1d8847cfacf2a6a214cf5e5b90e961046787f34 (patch) | |
tree | f29dfc930a364f3da8d4293b89edbb2235d185e1 | |
parent | 04be99ea0ed4e940dcb9b2f2fed8f6346023a169 (diff) | |
download | hydra-b1d8847cfacf2a6a214cf5e5b90e961046787f34.tar.gz hydra-b1d8847cfacf2a6a214cf5e5b90e961046787f34.tar.bz2 |
Adding ping response into whereis action
-rwxr-xr-x | share/hydra/whereis | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/hydra/whereis b/share/hydra/whereis index ec34e34..c5af517 100755 --- a/share/hydra/whereis +++ b/share/hydra/whereis @@ -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 |