#!/bin/sh
#**********************************************************************#
#*                                                                    *#
#* Copyright (c) 2002 by Sun Microsystems, Inc.                       *#
#* All rights reserved.                                               *#
#*                                                                    *#
#**********************************************************************#

# Sun Cluster Data Services Builder template version 1.0

RT_NAME=scmtp
RT_VENDOR=SUNW
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 $?
