#
# inittab	This file describes how the INIT process should set up
#		the system in a certain run-level.
#
# Version:	@(#)inittab  1.60  12-Jan-1995  MvS
#

# Default runlevel.
id:2:initdefault:

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

# Shell to run in single user mode.
# Enable the next line to run sulogin instead of a standard shell.
# Or disable it if you don not have sulogin installed.
~~:S:wait:/sbin/sulogin

# Runlevel 0 means halt the system.
l0:0:wait:/etc/rc.d/rc.halt

# Runlevel 1 is for administration.
l1:1:wait:/etc/rc.d/rc.single

# Runlevel 2 is the normal multi user level.
l2:2345:wait:/etc/rc.d/rc.multi

# Runlevel 6 means reboot the system.
l6:6:wait:/etc/rc.d/rc.reboot

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

# Action on special keypress (ALT-UpArrow)
kb::kbrequest:/bin/echo "Keyboard Request - edit /etc/inittab to let this work"

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

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

# Getties for the normal runlevels.
#
# EDIT THIS! Arguments to the getty command line are different for
#            every getty. These examples are for getty_ps2.0.7e
#
# Warning:   getty_ps 2.0.7e (and probably most other getties)
#            still have a bug in utmp handling. Maybe it's in the
#            C library. The "id" field HAS to be the same as the
#            the last characters of the terminal device (after "tty").
#
1:2345:respawn:/sbin/getty vc01 VC linux
2:23:respawn:/sbin/getty vc02 CONS2 linux
3:23:respawn:/sbin/getty vc03 CONS3 linux
4:23:respawn:/sbin/getty vc04 CONS4 linux
5:23:respawn:/sbin/getty vc05 CONS5 linux
6:23:respawn:/sbin/getty vc06 CONS6 linux

# One getty for the vt320 terminal, one for dialin.
# 01:23:respawn:/sbin/getty -h -r1 tty01 N19200 vt320
# 02:23:respawn:/sbin/uugetty tty02 F38400 dialup

# End of /etc/inittab
