#!/bin/bash

. /etc/profile

sysism=$(grep system.isManager /var/opt/ha/conf/haipsetup.xml)

[[ "x$sysism" =~ "1" ]] && {
    echo "Deployment is Manager (IS_MANAGER)"
    exit 1
}

echo "Deployment is not Manager"
exit 0
