inittab updated for busybox init.
Single-user mode removed from inittab as a consequence of busybox init not handling runlevels.master
parent
579e431144
commit
64869c410f
36
inittab
36
inittab
|
@ -1,31 +1,19 @@
|
|||
#
|
||||
# /etc/inittab: system runlevel description
|
||||
# /etc/inittab: init(8) configuration.
|
||||
#
|
||||
|
||||
# Runlevels:
|
||||
# 0 Halt
|
||||
# 1(S) Single-user
|
||||
# 2 Multi-user
|
||||
# 3-5 Not used
|
||||
# 6 Reboot
|
||||
::sysinit:/etc/rc
|
||||
::wait:/etc/rc.multi
|
||||
::shutdown:/etc/rc.shutdown
|
||||
|
||||
id:2:initdefault:
|
||||
tty1::respawn:/sbin/getty 38400 tty1 linux
|
||||
tty2::respawn:/sbin/getty 38400 tty2 linux
|
||||
tty3::respawn:/sbin/getty 38400 tty3 linux
|
||||
tty4::respawn:/sbin/getty 38400 tty4 linux
|
||||
tty5::respawn:/sbin/getty 38400 tty5 linux
|
||||
tty6::respawn:/sbin/getty 38400 tty6 linux
|
||||
::respawn:/sbin/getty 38400 ttyS0 vt100
|
||||
|
||||
rc::sysinit:/etc/rc
|
||||
rs:S1:wait:/etc/rc.single
|
||||
rm:2:wait:/etc/rc.multi
|
||||
rd:06:wait:/etc/rc.shutdown
|
||||
su:S:wait:/sbin/sulogin -p
|
||||
|
||||
c1:2:respawn:/sbin/getty 38400 tty1 linux
|
||||
c2:2:respawn:/sbin/getty 38400 tty2 linux
|
||||
c3:2:respawn:/sbin/getty 38400 tty3 linux
|
||||
c4:2:respawn:/sbin/getty 38400 tty4 linux
|
||||
c5:2:respawn:/sbin/getty 38400 tty5 linux
|
||||
c6:2:respawn:/sbin/getty 38400 tty6 linux
|
||||
s1:2:respawn:/sbin/getty 38400 ttyS0 vt100
|
||||
|
||||
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
|
||||
pf::powerfail:/sbin/shutdown -t3 -h now
|
||||
::ctrlaltdel:/sbin/reboot
|
||||
|
||||
# End of file
|
||||
|
|
Loading…
Reference in New Issue