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:
|
::sysinit:/etc/rc
|
||||||
# 0 Halt
|
::wait:/etc/rc.multi
|
||||||
# 1(S) Single-user
|
::shutdown:/etc/rc.shutdown
|
||||||
# 2 Multi-user
|
|
||||||
# 3-5 Not used
|
|
||||||
# 6 Reboot
|
|
||||||
|
|
||||||
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
|
::ctrlaltdel:/sbin/reboot
|
||||||
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
|
|
||||||
|
|
||||||
# End of file
|
# End of file
|
||||||
|
|
Loading…
Reference in New Issue