#
# inittab	This file describes how the INIT process should set up
#		the system in a certain run-level.
#
# Version:	@(#)inittab		3.01	27-Oct-1993
#
# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#

# Default runlevel.
id:2:initdefault:

# System initialization before anything else.
si::sysinit:/etc/bcheckrc

# /etc/rc takes care of runlevel handling.
l0:0:wait:/etc/rc 0
l1:1:wait:/etc/rc 1
l2:2:wait:/etc/rc 2
l3:3:wait:/etc/rc 3
l6:6:wait:/etc/rc 6

# Things to run in every runlevel.
ud::once:/usr/sbin/update

# Special actions for powerfail and CTRL-ALT-DEL
ca::ctrlaltdel:/sbin/shutdown -t1 -rf now

# Here are the actions for powerfailure.
pf::powerwait:/etc/powerfail start
po::powerokwait:/etc/powerfail stop

# Runlevel 5 is special: it turns the system into an X workstation.
xw:5:once:/usr/bin/X11/xdm

# Getties for the normal runlevels.
c1:12345:respawn:/sbin/getty CONSOLE tty1
c2:1234:respawn:/sbin/getty CONS2 tty2
c3:1234:respawn:/sbin/getty CONS3 tty3
c4:1234:respawn:/sbin/getty CONS4 tty4
c5:1234:respawn:/sbin/getty CONS5 tty5
c6:1234:respawn:/sbin/getty CONS6 tty6
t1:1234:off:/sbin/getty -h TERM1 tty01

# End of /etc/inittab
