fix ping_hosts.sh to not ping IPsec if CARP is in backup
This commit is contained in:
parent
e112f9ee60
commit
4721677dd7
|
@ -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
|
||||
|
|
Reference in New Issue