2007-11-20 00:01:40 +05:30
|
|
|
# /etc/inittab: This file describes how the INIT process should set up
|
|
|
|
# the system in a certain run-level.
|
|
|
|
|
|
|
|
# Default runlevel.
|
|
|
|
id:3:initdefault:
|
|
|
|
|
|
|
|
# System initialization, mount local filesystems, etc.
|
|
|
|
si::sysinit:/sbin/rc sysinit
|
|
|
|
|
|
|
|
# Further system initialization, brings up the boot runlevel.
|
|
|
|
rc::bootwait:/sbin/rc boot
|
|
|
|
|
2012-01-22 05:47:42 +05:30
|
|
|
l0:0:wait:/sbin/rc shutdown
|
2009-05-07 15:14:50 +05:30
|
|
|
l0s:0:wait:/sbin/halt -dhip
|
2007-11-20 00:01:40 +05:30
|
|
|
l1:S1:wait:/sbin/rc single
|
|
|
|
l2:2:wait:/sbin/rc nonetwork
|
|
|
|
l3:3:wait:/sbin/rc default
|
|
|
|
l4:4:wait:/sbin/rc default
|
|
|
|
l5:5:wait:/sbin/rc default
|
|
|
|
l6:6:wait:/sbin/rc reboot
|
2009-05-07 15:14:50 +05:30
|
|
|
l6r:6:wait:/sbin/reboot -dk
|
|
|
|
#z6:6:respawn:/sbin/sulogin
|
|
|
|
|
|
|
|
# new-style single-user
|
|
|
|
su0:S:wait:/sbin/rc single
|
|
|
|
su1:S:wait:/sbin/sulogin
|
2007-11-20 00:01:40 +05:30
|
|
|
|
|
|
|
# TERMINALS
|
|
|
|
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
|
|
|
|
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
|
|
|
|
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
|
|
|
|
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
|
|
|
|
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
|
|
|
|
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
|
|
|
|
|
|
|
|
# SERIAL CONSOLES
|
|
|
|
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
|
|
|
|
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100
|
|
|
|
|
|
|
|
# What to do at the "Three Finger Salute".
|
|
|
|
ca:12345:ctrlaltdel:/sbin/shutdown -r now
|