[openwrt/openwrt] armvirt: base-files: add tty0 to inittab

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 13 07:50:20 PDT 2023


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/bacc385dc56440a9c2bf1a574ba26d72d25d2d74

commit bacc385dc56440a9c2bf1a574ba26d72d25d2d74
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Mon Sep 5 16:56:49 2022 +1000

    armvirt: base-files: add tty0 to inittab
    
    tty0 is the default console for devices with screens/framebuffers.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
    (cherry picked from commit e41b82f619ca02f427f34ae439d4584ab441e245)
---
 target/linux/armvirt/base-files/etc/inittab | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/armvirt/base-files/etc/inittab b/target/linux/armvirt/base-files/etc/inittab
index 83b1888c5c..51832eb775 100644
--- a/target/linux/armvirt/base-files/etc/inittab
+++ b/target/linux/armvirt/base-files/etc/inittab
@@ -2,6 +2,7 @@
 ::shutdown:/etc/init.d/rcS K shutdown
 ttyAMA0::askfirst:/usr/libexec/login.sh
 ttyS0::askfirst:/usr/libexec/login.sh
+tty0::askfirst:/usr/libexec/login.sh
 hvc0::askfirst:/usr/libexec/login.sh
 ttymxc0::askfirst:/usr/libexec/login.sh
 ttymxc1::askfirst:/usr/libexec/login.sh




More information about the lede-commits mailing list