#!/sbin/sh
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)svc-cvcd	1.2	06/01/19 SMI"
#
# Start script for cvcd
#

. /lib/svc/share/smf_include.sh

platform=`/sbin/uname -i`
starfire="SUNW,Ultra-Enterprise-10000"
starcat="SUNW,Sun-Fire-15000" 

if [ $platform = "$starfire" -o $platform = "$starcat" ]; then
	/platform/$platform/lib/cvcd	# Fail if can't execute
	exit				# Use cvcd's exit status
else
	echo "$SMF_FMRI is not supported on this platform."
	exit $SMF_EXIT_ERR_CONFIG
fi

exit 0
