From: Maxim Baryshnikov Date: Wed, 4 May 2016 22:54:40 +0000 (+0200) Subject: overlay: login through tty, not through ttys0. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse-test.git/commitdiff_plain/0a85f4356c8d177f8c64ada9cfed17d6a0b76d75 overlay: login through tty, not through ttys0. --- diff --git a/buildroot-overlay/etc/inittab b/buildroot-overlay/etc/inittab index f5b4b70..ccf4afd 100644 --- a/buildroot-overlay/etc/inittab +++ b/buildroot-overlay/etc/inittab @@ -25,8 +25,8 @@ null::sysinit:/bin/hostname -F /etc/hostname # Put a getty on the serial port #console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL -console::respawn:/bin/login root ttyS0 /dev/ttyS0 2>&1 -# Stuff to do for the 3-finger salute +console::respawn:/bin/login root tty0 /dev/tty0 2>&1 +#Stuff to do for the 3-finger salute ::ctrlaltdel:/sbin/reboot # Stuff to do before rebooting