     1	#
     2	# inittab	This file describes how the INIT process should set up
     3	#		the system in a certain run-level.
     4	#
     5	# Version:	@(#)inittab		2.04	17/05/93	MvS
     6	#                                       2.10    02/10/95        PV
     7	#
     8	# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
     9	# Modified by:	Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
    10	#
    11	# Default runlevel.
    12	id:3:initdefault:
    13	
    14	# System initialization (runs when system boots).
    15	si:S:sysinit:/etc/rc.d/rc.S
    16	
    17	# Script to run when going single user (runlevel 1).
    18	su:1S:wait:/etc/rc.d/rc.K
    19	
    20	# Script to run when going multi user.
    21	rc:2345:wait:/etc/rc.d/rc.M
    22	
    23	# What to do at the "Three Finger Salute".
    24	ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now
    25	
    26	# Runlevel 0 halts the system.
    27	l0:0:wait:/etc/rc.d/rc.0
    28	
    29	# Runlevel 6 reboots the system.
    30	l6:6:wait:/etc/rc.d/rc.6
    31	
    32	# What to do when power fails (shutdown to single user).
    33	pf::powerfail:/sbin/shutdown -f +5 "THE POWER IS FAILING"
    34	
    35	# If power is back before shutdown, cancel the running shutdown.
    36	pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"
    37	
    38	# If power comes back in single user mode, return to multi user mode.
    39	ps:S:powerokwait:/sbin/init 5
    40	
    41	# The getties in multi user mode on consoles an serial lines.
    42	#
    43	# NOTE NOTE NOTE adjust this to your getty or you will not be
    44	#                able to login !!
    45	#
    46	# Note: for 'agetty' you use linespeed, line.
    47	# for 'getty_ps' you use line, linespeed and also use 'gettydefs'
    48	c1:1235:respawn:/sbin/agetty 38400 tty1 linux
    49	c2:1235:respawn:/sbin/agetty 38400 tty2 linux
    50	c3:1235:respawn:/sbin/agetty 38400 tty3 linux
    51	c4:1235:respawn:/sbin/agetty 38400 tty4 linux
    52	c5:1235:respawn:/sbin/agetty 38400 tty5 linux
    53	c6:12345:respawn:/sbin/agetty 38400 tty6 linux
    54	
    55	# Serial lines
    56	#s1:12345:respawn:/sbin/agetty 19200 ttyS0 vt100
    57	#s2:12345:respawn:/sbin/agetty 19200 ttyS1 vt100
    58	
    59	# Dialup lines
    60	#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
    61	#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100
    62	
    63	# Runlevel 4 used to be for an X-window only system, until we discovered
    64	# that it throws init into a loop that keeps your load avg at least 1 all 
    65	# the time. Thus, there is now one getty opened on tty6. Hopefully no one
    66	# will notice. ;^)
    67	# It might not be bad to have one text console anyway, in case something 
    68	# happens to X.
    69	x1:4:wait:/etc/rc.d/rc.4
    70	
    71	# End of /etc/inittab
