#! /bin/sh
#ident  "@(#)postinstall 1.5	01/06/07 SMI"

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


# Register tools and services, and add the tool to the toolbox
if [ -f ${SMCREG} ]; then

    # Register the tool.
    ${SMCREG} scripts \
	${PREREGDIR}/SUNWrmui/SUNWrmui_reg.sh \
	${PREREGDIR}/SUNWrmui/SUNWrmui_unreg.sh

fi

exit 0
