#!/bin/sh

. /opt/webservice/install/deployment.properties

deployment=`/opt/webservice/scripts/gethaipsetupentry.sh system.multiNodeSystem`
rc=$?
if [ "$rc" != "0" ]; then
 echo "System is not a valid OpenScape 4000 installation"  >&2
 exit -1
fi 

deployment_string=""

# default is: no quorum
rc=0

case $deployment in
   $DEP_LOCAL_SEP_SRV | $DEP_DSCXLV2_LOCAL_SEP_DUPLEX)
          echo "deployment has a quorum"
          rc=1          
          ;;
    *)
          echo "deployment has no quorum"
          rc=0;
          ;;
esac

exit $rc
