#!/bin/sh
#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)postinstall	1.2	05/01/07 SMI"
#

SMCREG=${BASEDIR}/usr/sadm/bin/smcregister
SMC_HOME=${BASEDIR}/usr/sadm/lib/smc
PREREGDIR=${SMC_HOME}/prereg
PKGINST=SUNWtsmc

# Register scripts that will perform the registrations and unregistrations
if [ -x ${SMCREG} ]; then
    ${SMCREG} scripts \
        ${PREREGDIR}/${PKGINST}/${PKGINST}_reg.sh \
        ${PREREGDIR}/${PKGINST}/${PKGINST}_unreg.sh
fi

