mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-28 04:58:32 +00:00
remove getty from inittab
Depend on specifying the console as a boot option Signed-off-by: Natanael Copa <natanael.copa@docker.com>
This commit is contained in:
parent
bf4ced07d0
commit
39d3ac8429
@ -4,11 +4,9 @@
|
|||||||
::sysinit:/sbin/openrc boot
|
::sysinit:/sbin/openrc boot
|
||||||
::wait:/sbin/openrc default
|
::wait:/sbin/openrc default
|
||||||
|
|
||||||
# Put a getty on the serial port
|
|
||||||
ttyAMA0::respawn:/sbin/getty -L ttyAMA0 115200 vt100
|
|
||||||
|
|
||||||
# Stuff to do for the 3-finger salute
|
# Stuff to do for the 3-finger salute
|
||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
|
|
||||||
# Stuff to do before rebooting
|
# Stuff to do before rebooting
|
||||||
::shutdown:/sbin/rc shutdown
|
::shutdown:/sbin/rc shutdown
|
||||||
|
|
||||||
|
@ -4,14 +4,9 @@
|
|||||||
::sysinit:/sbin/openrc boot
|
::sysinit:/sbin/openrc boot
|
||||||
::wait:/sbin/openrc default
|
::wait:/sbin/openrc default
|
||||||
|
|
||||||
# Put a getty on the serial port
|
|
||||||
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
|
|
||||||
|
|
||||||
# Put a getty on the console
|
|
||||||
tty1::respawn:/sbin/getty 115200 tty1 linux
|
|
||||||
|
|
||||||
# Stuff to do for the 3-finger salute
|
# Stuff to do for the 3-finger salute
|
||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
|
|
||||||
# Stuff to do before rebooting
|
# Stuff to do before rebooting
|
||||||
::shutdown:/sbin/rc shutdown
|
::shutdown:/sbin/rc shutdown
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user