[LEDE-DEV] [PATCH] imx6: inittab: Use login.sh wrapper so we can configure console password

Petr Štetiar ynezz at true.cz
Fri Oct 14 01:33:17 PDT 2016


In dc92917 there was introduced login.sh wrapper which allows
configuration of console passwords via UCI system ttylogin config
option.

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/imx6/base-files/etc/inittab | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/imx6/base-files/etc/inittab b/target/linux/imx6/base-files/etc/inittab
index a6c0bc8..b944a93 100644
--- a/target/linux/imx6/base-files/etc/inittab
+++ b/target/linux/imx6/base-files/etc/inittab
@@ -1,4 +1,4 @@
 ::sysinit:/etc/init.d/rcS S boot
 ::shutdown:/etc/init.d/rcS K shutdown
-::askconsole:/bin/ash --login
-tty1::askfirst:/bin/ash --login
+::askconsole:/usr/libexec/login.sh
+tty1::askfirst:/usr/libexec/login.sh
-- 
1.9.1




More information about the Lede-dev mailing list