2011-04-03 18:12:39 +00:00
|
|
|
#
|
|
|
|
# /etc/inittab
|
|
|
|
#
|
|
|
|
|
|
|
|
# Runlevels:
|
|
|
|
# 0 Halt
|
|
|
|
# 1(S) Single-user
|
|
|
|
# 2 Not used
|
|
|
|
# 3 Multi-user
|
|
|
|
# 4 Not used
|
|
|
|
# 5 X11
|
|
|
|
# 6 Reboot
|
|
|
|
|
|
|
|
## Only one of the following two lines can be uncommented!
|
|
|
|
# Boot to console
|
|
|
|
id:3:initdefault:
|
|
|
|
# Boot to X11
|
|
|
|
#id:5:initdefault:
|
|
|
|
|
|
|
|
rc::sysinit:/etc/rc.sysinit
|
|
|
|
rs:S1:wait:/etc/rc.single
|
|
|
|
rm:2345:wait:/etc/rc.multi
|
|
|
|
rh:06:wait:/etc/rc.shutdown
|
|
|
|
su:S:wait:/sbin/sulogin -p
|
|
|
|
|
|
|
|
# -8 options fixes umlauts problem on login
|
2011-09-04 00:19:08 +00:00
|
|
|
s0:12345:respawn:/sbin/agetty -8 -s 115200 ttyO2 linux
|
2011-06-18 04:44:09 +00:00
|
|
|
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
|
|
|
|
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
|
|
|
|
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
|
|
|
|
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
|
|
|
|
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
|
|
|
|
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
|
2011-04-03 18:12:39 +00:00
|
|
|
|
2011-05-26 04:45:00 +00:00
|
|
|
# Serial Virtual Console for KVM and others VMs
|
2011-06-18 04:44:09 +00:00
|
|
|
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
|
2011-05-26 04:45:00 +00:00
|
|
|
|
2011-04-03 18:12:39 +00:00
|
|
|
# Hypervisor Virtual Console for Xen and KVM
|
2011-06-18 04:44:09 +00:00
|
|
|
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
|
2011-04-03 18:12:39 +00:00
|
|
|
|
|
|
|
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
|
|
|
|
|
|
|
|
# Example lines for starting a login manager
|
|
|
|
x:5:respawn:/usr/bin/xdm -nodaemon
|
|
|
|
#x:5:respawn:/usr/sbin/gdm -nodaemon
|
|
|
|
#x:5:respawn:/usr/bin/kdm -nodaemon
|
2011-05-26 04:45:00 +00:00
|
|
|
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
|
2011-04-03 18:12:39 +00:00
|
|
|
|
|
|
|
# End of file
|