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 <[email protected]>
---
 target/linux/x86/base-files/etc/inittab |    4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 target/linux/x86/base-files/etc/inittab

diff --git a/target/linux/x86/base-files/etc/inittab 
b/target/linux/x86/base-files/etc/inittab
new file mode 100644
index 0000000..ca90fd8
--- /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
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to