Ian Southam 585f5f7000 ACL issues
ACL order issues
Do not block multicast traffic for vrrp
Many smaller bug fixes
checkrouter provided in /opt/cloud/bin
2015-03-16 11:40:10 +01:00

9 lines
211 B
Bash
Executable File

#!/usr/bin/env bash
STATUS=$(cat /etc/cloudstack/cmdline.json | grep redundant_state | awk '{print $2;}' | sed -e 's/[,\"]//g')
if [ "$?" -ne "0" ]
then
STATUS=MASTER
fi
echo "Status: ${STATUS}&Bumped: NO"