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>
This commit is contained in:
Paul Spooren 2019-05-07 13:09:53 +02:00 committed by Alexander Couzens
parent 8357b8131c
commit cde52cb486
No known key found for this signature in database
GPG Key ID: C29E9DA6A0DF8604

View File

@ -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