view core/sysvinit/inittab @ 302:4eb3d13af993

x11/xinit: initial import, closes #1371
author David Demelier <markand@malikania.fr>
date Mon, 25 Mar 2019 12:44:04 +0100
parents 36f3ab3945d7
children 91df0731a3f5
line wrap: on
line source

#
# /etc/inittab: init system configuration
#

#
# vanilla recommends the following runlevels:
#
# S: single user mode (no services at all)
# 1: single user mode
# 2: multi user mode (console)
# 3: multi user mode (graphical)
# 4, 5: unused but kept to administrator discretion.
#
# The following run levels are special and must not be used as default:
#
# 0: power off
# 6: reboot
#

# Default run level.
id:2:initdefault:

# System initialization.
si::sysinit:/etc/rc.init

# Runlevels.
lS:S:wait:/usr/sbin/sulogin
l0:0:wait:/etc/rc.shutdown 0
l1:1:wait:/etc/rc.start 1
l2:2:wait:/etc/rc.start 2
l3:3:wait:/etc/rc.start 3
l4:4:wait:/etc/rc.start 4
l5:5:wait:/etc/rc.start 5
l6:6:wait:/etc/rc.shutdown 6

# Shutdown on ctrl+alt+delete.
ca::ctrlaltdel:/usr/sbin/shutdown -t1 -h now

# Console terminals.
c1:2345:respawn:/usr/sbin/agetty --noclear 38400 tty1 linux
c2:2345:respawn:/usr/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/usr/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/usr/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/usr/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/usr/sbin/agetty 38400 tty6 linux