#!/bin/sh5
#
# @(#)fisinit	7.1	(ULTRIX)	7/22/92
#
########################################################################
#
#			Copyright (c) 1988, 1989 by
#		Digital Equipment Corporation, Maynard, MA
#			All rights reserved.
#
#	This software is furnished under a license and may be used and
#	copied  only  in accordance with the terms of such license and
#	with the  inclusion  of  the  above  copyright  notice.   This
#	software  or  any  other copies thereof may not be provided or
#	otherwise made available to any other person.  No title to and
#	ownership of the software is hereby transferred.		
#
#	The information in this software is subject to change  without
#	notice  and should not be construed as a commitment by Digital
#	Equipment Corporation.					
#
#	Digital assumes no responsibility for the use  or  reliability
#	of its software on equipment which is not supplied by Digital.
#
#	000	Jonathan Wallace	15-Oct-1990
#		Created original code
#
########################################################################
#
exec </dev/console >/dev/console 2>&1
stty dec crt

ADMDIR="/usr/adm"
FISDIR="/etc/fis"

trap 'continue' 1 2 3 15 18

while :
do
	$ADMDIR/log $ADMDIR/fisinit.log /bin/sh5 $FISDIR/fisstart -S
	case $? in
	0 )
		;;
	* )
		continue
		;;
	esac
	
	$FISDIR/fisstart -P
	case $? in
	0 )
		;;
	* )
		continue
		;;
	esac

	$ADMDIR/log $ADMDIR/fisinit.log /bin/sh5 $FISDIR/fisstart
	case $? in
	0 | 2 | 3 )
		;;
	* )
		continue
		;;
	esac
done
