From f41c9fd56a23b92108a0d8e469e3bdfdfaf564bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Wed, 3 Feb 2010 15:19:14 +0000 Subject: ping_hosts.sh is no more in /etc. Remove some unneeded lines. --- usr/local/bin/ping_hosts.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr/local/bin') diff --git a/usr/local/bin/ping_hosts.sh b/usr/local/bin/ping_hosts.sh index 87bda45..8455015 100755 --- a/usr/local/bin/ping_hosts.sh +++ b/usr/local/bin/ping_hosts.sh @@ -76,7 +76,6 @@ for TOPING in $PINGHOSTS ; do if [ "$PREVIOUSSTATUS" = "DOWN" ]; then # Service restored if [ "$SERVICERESTOREDSCRIPT" != "" ]; then - echo "UP" > /var/db/pingstatus/$DSTIP echo "$DSTIP is UP, previous state was DOWN .. Running $SERVICERESTOREDSCRIPT" echo "$DSTIP is UP, previous state was DOWN .. Running $SERVICERESTOREDSCRIPT" | logger -p daemon.info -i -t PingMonitor sh -c $SERVICERESTOREDSCRIPT @@ -89,7 +88,6 @@ for TOPING in $PINGHOSTS ; do if [ "$PREVIOUSSTATUS" = "UP" ]; then # Service is down if [ "$FAILURESCRIPT" != "" ]; then - echo "DOWN" > /var/db/pingstatus/$DSTIP echo "$DSTIP is DOWN, previous state was UP .. Running $FAILURESCRIPT" echo "$DSTIP is DOWN, previous state was UP .. Running $FAILURESCRIPT" | logger -p daemon.info -i -t PingMonitor sh -c $FAILURESCRIPT -- cgit v1.1