From 7e1aa4b771b57fea139a1c94ee5112be00c6b9dd 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(-) (limited to 'usr/local') 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