#!/bin/sh

# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

#       Copyright (c) 1984 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"$Header: inittab.sh 1.29 89/11/03 $@(#)inittab.sh	1.10"

if u3b2
then echo "zu::sysinit:/etc/bzapunix </dev/console >/dev/console 2>&1
fs::sysinit:/etc/bcheckrc </dev/console >/dev/console 2>&1
ck::sysinit:/etc/setclk </dev/console >/dev/console 2>&1
mt:23:bootwait:/etc/brc </dev/console >/dev/console 2>&1
pt:23:bootwait:/etc/ports </dev/console >/dev/console 2>&1
is:S:initdefault:		# single-user by default for starters
p1:s1234:powerfail:/etc/led -f			# start green LED flashing
p3:s1234:powerfail:/etc/shutdown -y -i0 -g0 >/dev/console 2>&1
fl:056:wait:/etc/led -f 			# start green LED flashing
s0:056:wait:/etc/rc0 >/dev/console 2>&1 </dev/console
s1:1:wait:/etc/shutdown -y -iS -g0 >/dev/console 2>&1 </dev/console
s2:23:wait:/etc/rc2 >/dev/console 2>&1 </dev/console
s3:3:wait:/etc/rc3 >/dev/console 2>&1 </dev/console
of:0:wait:/etc/uadmin 2 0 >/dev/console 2>&1 </dev/console
fw:5:wait:/etc/uadmin 2 2 >/dev/console 2>&1 </dev/console
RB:6:wait:echo \"\\\nThe system is being restarted.\" >/dev/console 2>&1
rb:6:wait:/etc/uadmin 2 1 >/dev/console 2>&1 </dev/console
co:234:respawn:/etc/getty console console
ct:234:respawn:/etc/getty contty contty
he:234:respawn:sh -c 'sleep 20 ; exec /etc/hdelogger >/dev/console 2>&1'" \
>inittab

elif i386 || i286
then echo "bck::sysinit:/etc/bcheckrc </dev/syscon >/dev/syscon 2>&1
bdf::sysinit:/etc/bdflush >/dev/console 2>&1 &
dvb::sysinit:/etc/devbuild -a >/dev/console 2>&1
swp::sysinit:/etc/sweepon -a >/dev/console 2>&1
str::sysinit:/etc/strerr >/dev/console 2>&1 &
is:2:initdefault:
s0:056:wait:/etc/rc0 >/dev/console 2>&1
s1:1:wait:/etc/rc1  > /dev/console 2>&1
s2:23:wait:/etc/rc2 > /dev/console 2>&1
s3:3:wait:/etc/rc3  > /dev/console 2>&1
fw:05:wait:/etc/uadmin 2 0 >/dev/console 2>&1
RB:6:wait:echo \"\\\nThe system is being restarted.\" >/dev/console 2>&1
rb:6:wait:/etc/uadmin 2 1 >/dev/console 2>&1
pf:s1234:powerwait:/etc/powerfail powerfail 1> /dev/console 2>&1
po:s1234:powerokwait:/etc/powerfail powerok 1> /dev/console 2>&1
pw:234:respawn:/etc/pwdhd >/dev/null </dev/null 2>&1
co:234:respawn:/etc/getty syscon console
ac:234:respawn:/etc/getty altcon console" \
>inittab

fi
