#!/bin/sh

# License:      GNU General Public License (GPL)

HA_DIR=@sysconfdir@/ha.d
. ${HA_DIR}/shellfuncs
ORIGNODE=$HA_src
if
    [ "X$ORIGNODE" = "X$HA_CURHOST" ]
then
      exit 0; # request is from us!
fi
case $HA_rsc_hold in
	all)
		standby_rsc=$HA_rsc_hold;;
	local)
		standby_rsc=foreign;;
	foreign)
		standby_rsc=local;;
esac
@HA_NOARCHDATAHBDIR@/hb_standby $standby_rsc
