#! /usr/bin/sh
#
# ident	"@(#)ssp.sh	1.3	99/01/27	SMI"
#
# Copyright (c) 1999 by Sun Microsystems, Inc.
# All rights reserved.
#
# Startup script to invoke ssp_startup, which starts and monitors SSP
# daemons.
#
#
case "$1" in

'start')
	# CD to a harmless directory first
	cd /
	# ignore HUP and QUIT signals
	trap '' HUP QUIT
	# start ssp_startup in the background
    	/etc/opt/SUNWssp/ssp_startup.sh 15 &
	;;

'stop')
	# Terminate ssp daemons (bug 4027567)
	/opt/SUNWssp/bin/ssp_terminate
	;;

*)
	echo "Usage: $0 { start | stop }"
	;;
esac

exit 0

