#!/bin/sh

# For Redhat-ish systems
# chkconfig: 345 99 1
#
# description: spin boot init file to send a SpinServer Start Message to syslog
# 
# $Id: //depot/prod/spinfs/rel2.5.4x/spintools_rpm/SOURCES/etc/rc.d/init.d/spinautogsi#1 $
#
# Copyright 2003. Spinnaker Networks Inc.
# All rights reserved.
. /etc/rc.d/init.d/functions

cd /core
case "$1" in
  start)
	/sbin/auto_gsi -daemon
	;;
  stop)
	killall auto_gsi
	;;
  restart)
	killall auto_gsi
	/sbin/auto_gsi -daemon
	;;
  status)
	status auto_gsi
	;;
  *)
        ;;

esac

exit 0
