diff options
author | Paul Spooren <mail@aparcar.org> | 2019-05-07 13:09:53 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2019-05-21 14:54:15 +0200 |
commit | cde52cb4866fe8cf4a19bb2bb32ff7802e542e19 (patch) | |
tree | 12708cdf244d405c27bc7df1a3e08d57df6fa8e5 /target/linux/x86 | |
parent | 8357b8131cd72b02794da2c430f3ca54416d89f2 (diff) | |
download | upstream-cde52cb4866fe8cf4a19bb2bb32ff7802e542e19.tar.gz upstream-cde52cb4866fe8cf4a19bb2bb32ff7802e542e19.tar.bz2 upstream-cde52cb4866fe8cf4a19bb2bb32ff7802e542e19.zip |
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 <mail@aparcar.org>
Diffstat (limited to 'target/linux/x86')
-rw-r--r-- | target/linux/x86/base-files/etc/inittab | 1 |
1 files changed, 1 insertions, 0 deletions
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 |