#!/sbin/sh
#
# Copyright (c) 1999 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident	"@(#)IIim	1.9	99/08/30 SMI"

IIIMD="/usr/lib/iiim/iiimd-watchdog"
OPTIONS=""

case "$1" in
'start')
	if [ -x $IIIMD ]; then
		$IIIMD $OPTIONS >/dev/null 2>&1 &
	fi
	;;

'stop')
	/usr/bin/pkill -TERM -x -u 0 iiimd
	;;

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