#! /bin/sh

#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident        "@(#)postinstall 1.1     05/04/21 SMI"
#

SMCREG=${BASEDIR}/usr/sadm/bin/smcregister
ADMIN_LIBDIR=${BASEDIR}/usr/sadm/lib
PREREGDIR=${BASEDIR}/usr/sadm/lib/smc/prereg
export BASEDIR


# Register scripts that will the registrations and unregistrations
if [ -f ${SMCREG} ]; then

    ${SMCREG} scripts \
	${PREREGDIR}/SUNWmgts/SUNWmgts_reg.sh \
	${PREREGDIR}/SUNWmgts/SUNWmgts_unreg.sh

fi

exit 0
