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>
7 lines
223 B
Plaintext
7 lines
223 B
Plaintext
::sysinit:/etc/init.d/rcS S boot
|
|
::shutdown:/etc/init.d/rcS K shutdown
|
|
ttyS0::askfirst:/usr/libexec/login.sh
|
|
hvc0::askfirst:/usr/libexec/login.sh
|
|
tty1::askfirst:/usr/libexec/login.sh
|
|
console::askfirst:/usr/libexec/login.sh
|