diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-03 15:19:14 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-03 15:19:14 +0000 |
commit | f41c9fd56a23b92108a0d8e469e3bdfdfaf564bf (patch) | |
tree | efeb8bc4dddcdb4a54dad7b45e328436a12786d4 /usr | |
parent | cdd5b2ced7453aedc0c8b6faf759315bf4b9a6fe (diff) | |
download | pfsense-f41c9fd56a23b92108a0d8e469e3bdfdfaf564bf.zip pfsense-f41c9fd56a23b92108a0d8e469e3bdfdfaf564bf.tar.gz |
ping_hosts.sh is no more in /etc. Remove some unneeded lines.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/bin/ping_hosts.sh | 2 |
1 files changed, 0 insertions, 2 deletions
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 |