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:
Natanael Copa 2016-07-13 18:06:34 +02:00
parent bf4ced07d0
commit 39d3ac8429
2 changed files with 2 additions and 9 deletions

View File

@ -4,11 +4,9 @@
::sysinit:/sbin/openrc boot
::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
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/rc shutdown

View File

@ -4,14 +4,9 @@
::sysinit:/sbin/openrc boot
::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
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/rc shutdown