]> rtime.felk.cvut.cz Git - jailhouse-test.git/commitdiff
overlay: login through tty, not through ttys0.
authorMaxim Baryshnikov <barysmax@fel.cvut.cz>
Wed, 4 May 2016 22:54:40 +0000 (00:54 +0200)
committerMaxim Baryshnikov <barysmax@fel.cvut.cz>
Wed, 4 May 2016 22:54:40 +0000 (00:54 +0200)
buildroot-overlay/etc/inittab

index f5b4b7066a0f7beb24ae7aa5295b2621f1f9f4b7..ccf4afd4199b77becbe839f483043ae94b972116 100644 (file)
@@ -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 >/dev/ttyS0 2>&1
-# Stuff to do for the 3-finger salute
+console::respawn:/bin/login root tty0 </dev/tty0 >/dev/tty0 2>&1
+#Stuff to do for the 3-finger salute
 ::ctrlaltdel:/sbin/reboot
 
 # Stuff to do before rebooting