From: John Crispin Date: Sun, 4 Aug 2013 17:05:33 +0000 (+0000) Subject: x86: change /dev/console to tty to fix job control X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f0b5e7d419c26c5b5da60af35fc1627fb446f9c9;p=openwrt%2Fstaging%2Fmans0n.git x86: change /dev/console to tty to fix job control Job control is turned off because it cannot obtain controlling terminal on /dev/console, so it is impossible to do any job control operation behind real x86 device (keyboard+monitor or virtualized). This patch switches /dev/console to tty devices for ash on x86 generic target. Signed-off-by: Jiri Slachta SVN-Revision: 37693 --- diff --git a/target/linux/x86/base-files/etc/inittab b/target/linux/x86/base-files/etc/inittab new file mode 100644 index 0000000000..ca90fd8a2a --- /dev/null +++ b/target/linux/x86/base-files/etc/inittab @@ -0,0 +1,4 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +ttyS0::askfirst:/bin/ash --login +tty1::askfirst:/bin/ash --login