fix ping_hosts.sh to not ping IPsec if CARP is in backup

This commit is contained in:
Chris Buechler 2014-10-27 15:29:42 -05:00
parent e112f9ee60
commit 4721677dd7
1 changed files with 1 additions and 1 deletions

View File

@ -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