Listing 3. Slackware inittab
# Default runlevel.
id:5:initdefault:
# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S
# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K
# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M
# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -rf now
# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0
# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6
# Runlevel 1,2,3,5 have text login
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
# Runlevel 4 is X only
x1:4:wait:/etc/rc.d/rc.4
# But run a getty on /dev/tty4 just in case...
c4:4:respawn:/sbin/agetty 38400 tty1 linux