#! /bin/sh
#
# |-----------------------------------------------------------|
# | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
# | All Rights Reserved                                       |
# |-----------------------------------------------------------|
# |          Restricted Rights Legend                         |
# | Use, duplication, or disclosure by the Government is      |
# | subject to restrictions as set forth in                   |
# | subparagraph (c)(1)(ii) of the Rights in Technical        |
# | Data and Computer Software Clause of DFARS 252.227-7013.  |
# |         MIPS Computer Systems, Inc.                       |
# |         950 DeGuigne Avenue                               |
# |         Sunnyvale, California 94088-3650, USA             |
# |-----------------------------------------------------------|
#
# $Header: autoconfig,v 1.8.2.1 92/06/24 13:34:56 marker Exp $

#  if a self configuration occurred during the boot
#  sequence, the following must be done:
#
#     run mkunix to generate an absolute UNIX file
#
#  ckauto -- is a program that is used to determine if an
#   	     auto configuration took place
#

set `who -r`
#		$7 is current state (2 or 3)
#		$8 is number of times in this state previously
#		$9 is the previous state we were in

#if [ "$9" = "S" -a "$8" = "0" ]
#then
#	/etc/ckauto
#	if [ $? -eq 1 ]
#	then
#		echo 'Generating a new /unix'
#		/etc/mkunix -o /unix > /dev/null
#	fi
#fi
exit 0
