From 39d3ac8429d8e29f57494753a31a9efbdbbe331a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Jul 2016 18:06:34 +0200 Subject: [PATCH] remove getty from inittab Depend on specifying the console as a boot option Signed-off-by: Natanael Copa --- alpine/inittab.armhf | 4 +--- alpine/inittab.x86_64 | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/alpine/inittab.armhf b/alpine/inittab.armhf index d641de0ab..33ae471da 100644 --- a/alpine/inittab.armhf +++ b/alpine/inittab.armhf @@ -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 + diff --git a/alpine/inittab.x86_64 b/alpine/inittab.x86_64 index ba4999ea5..33ae471da 100644 --- a/alpine/inittab.x86_64 +++ b/alpine/inittab.x86_64 @@ -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 +