From 4721677dd735dcc8de2f961b2fe02d2c3bf74451 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 27 Oct 2014 15:29:42 -0500 Subject: fix ping_hosts.sh to not ping IPsec if CARP is in backup --- usr/local/bin/ping_hosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/ping_hosts.sh b/usr/local/bin/ping_hosts.sh index 7126c99..d584dd1 100755 --- a/usr/local/bin/ping_hosts.sh +++ b/usr/local/bin/ping_hosts.sh @@ -40,7 +40,7 @@ if [ -f /var/db/pkgpinghosts ]; then PKGHOSTS="/var/db/pkgpinghosts" fi -cat $PKGHOSTS $HOSTS $IPSECHOSTS >/tmp/tmpHOSTS +cat $PKGHOSTS $HOSTS $CURRENTIPSECHOSTS >/tmp/tmpHOSTS if [ ! -d /var/db/pingstatus ]; then /bin/mkdir -p /var/db/pingstatus -- cgit v1.1