#!/bin/ksh -p
#
# ident "$Id: utsvtreg.ksh 13 2008-05-21 22:53:18Z mk94373 $ SMI"
#
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

PATH=/bin:/usr/bin:/sbin:/usr/sbin
export PATH

###########################################
# chkconfig header info
#
# chkconfig: 5 98 02
# description: Sun Ray Service Tags Starter
#
###########################################
OS=`uname -s`

/etc/opt/SUNWutsvt/utsvtd "$@" &

if [ $OS = "SunOS" ]; then

	if [ -s /lib/svc/share/smf_include.sh ]; then

		. /lib/svc/share/smf_include.sh
		exit $SMF_EXIT_OK

	fi
fi

exit 0
