#! /usr/bin/sh
#
# ident	"@(#)sysidssp.sh	1.7	99/02/22 SMI"
#
# Copyright (c) 1996 by Sun Microsystems, Inc.
# All rights reserved.
#
# Startup script to invoke ssp_config, which interactively prompts the user
# to setup the SSP with an initial control board configuration (cb_config).
#
# For regular boot-time startup, see $SSPETC/ssp_startup.sh,
# which is usually invoked from /etc/inittab
#

case "$1" in

'start')
	if [ -f /.SSP_DEFAULTS ]
	then
		if [ -x /opt/SUNWssp/bin/ssp_config ]
		then
			/opt/SUNWssp/bin/ssp_config sysidssp
		fi
	fi
	;;

'stop')
	# Terminate ssp daemons (bug 4027567)
	# . /etc/opt/SUNWssp/ssp_env.sh
	# $SSPOPT/bin/ssp_terminate
    	# moved to ssp.sh
	;;

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

exit 0
