From 3e5b2ccfa314129248cfb75469fdf23c263bc1ab Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Fri, 29 Mar 2013 13:38:06 -0700 Subject: [PATCH] TIVI-611: Update the inittab hack for console swithing --- custom/scripts/console-switching.post | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/custom/scripts/console-switching.post b/custom/scripts/console-switching.post index debf6a2..14033cc 100644 --- a/custom/scripts/console-switching.post +++ b/custom/scripts/console-switching.post @@ -1,6 +1,4 @@ # console-switching.post # inittab hack to fix console - UI switching -sed -ri '/^1\:2345\:respawn/d' /etc/inittab -echo '' >> /etc/inittab -echo '1:12345:respawn:/sbin/mingetty tty3' >> /etc/inittab -echo '2:12345:respawn:/sbin/mingetty tty4' >> /etc/inittab +sed -ri 's/--noclear tty1/tty3/' /etc/inittab +sed -ri 's/tty2/tty4/' /etc/inittab -- 2.7.4