#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

. `dirname $0`/siu_config

scrgadm -a -j $RS -g $RG -t SUNW.gds \
-x Start_command="/opt/SUNWscmqi/siu/bin/start-uns \
-R $RS -G $RG -Q $QMGR -U $MQSI_ID \
-S $START_CMD -E $STOP_CMD " \
-x Stop_command="/opt/SUNWscmqi/siu/bin/stop-uns \
-R $RS -G $RG -Q $QMGR -U $MQSI_ID \
-S $START_CMD -E $STOP_CMD " \
-x Probe_command="/opt/SUNWscmqi/siu/bin/test-uns \
-R $RS -G $RG -Q $QMGR -U $MQSI_ID \
-S $START_CMD -E $STOP_CMD " \
-y Port_list=$PORT/tcp -y Network_resources_used=$LH \
-x Stop_signal=9 \
-y Resource_dependencies=$HAS_RS,$QMGR_RS
