/* Gate Specific Code -- BEGIN */
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)postinstall 1.4     01/01/30 SMI"
#
/* Gate Specific Code -- END */
#!/bin/sh
# Sun Cluster Data Services Builder template version 1.0

RT_NAME=
RT_VENDOR=
RT_FULLNAME=$RT_VENDOR$RT_NAME

RTRDIR=${PKG_INSTALL_ROOT}/usr/cluster/lib/rgm/rtreg
# Add the link in the RT repository directory. This way
# commands like scrgadm would be able to find this newly
# added resource type.

if [ ! -r $RTRDIR/$RT_VENDOR.$RT_NAME ]
then
	ln -s $BASEDIR/$RT_FULLNAME/etc/$RT_VENDOR.$RT_NAME \
	$RTRDIR/$RT_VENDOR.$RT_NAME
fi

exit $?
