mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
[Sysv]: /etc/inittab: respawn sulogin in runlevel 1
If run once (as it is now), the only possibility after hitting control-D is to reboot. Note that init treats the S runlevel differently: when the last daemon to be run n runlevel S exits, init switches to the default runlevel. This is not the case for other runlevels.
This commit is contained in:
parent
fb651b9116
commit
bb9cb3c0d8
@ -77,7 +77,8 @@ l6:6:wait:/etc/rc.d/init.d/rc 6
|
||||
|
||||
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
|
||||
|
||||
su:S016:once:/sbin/sulogin
|
||||
su:S06:once:/sbin/sulogin
|
||||
s1:1:respawn:/sbin/sulogin
|
||||
|
||||
1:2345:respawn:/sbin/agetty --noclear tty1 9600
|
||||
2:2345:respawn:/sbin/agetty tty2 9600
|
||||
|
Loading…
Reference in New Issue
Block a user