From: Paul Spooren Date: Tue, 7 May 2019 11:09:53 +0000 (+0200) Subject: base-files: add console to inittab X-Git-Tag: v19.07.0-rc1~583 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cde52cb4866fe8cf4a19bb2bb32ff7802e542e19;p=openwrt%2Fopenwrt.git base-files: add console to inittab When running OpenWrt inside an LXC container no shell is opend as LXC defaults to a virtual /dev/console. This patch allows to enter a shell after starting the container via `lxc-start`, without it is only posible to access a shell on tty1 via `lxc-console`. Signed-off-by: Paul Spooren --- diff --git a/target/linux/x86/base-files/etc/inittab b/target/linux/x86/base-files/etc/inittab index f4747f200d..eb0b57ba18 100644 --- a/target/linux/x86/base-files/etc/inittab +++ b/target/linux/x86/base-files/etc/inittab @@ -3,3 +3,4 @@ ttyS0::askfirst:/usr/libexec/login.sh hvc0::askfirst:/usr/libexec/login.sh tty1::askfirst:/usr/libexec/login.sh +console::askfirst:/usr/libexec/login.sh