imx6: inittab: Use login.sh wrapper so we can configure console password
authorPetr Štetiar <ynezz@true.cz>
Fri, 14 Oct 2016 08:33:17 +0000 (10:33 +0200)
committerJohn Crispin <john@phrozen.org>
Sat, 15 Oct 2016 09:36:51 +0000 (11:36 +0200)
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@true.cz>
target/linux/imx6/base-files/etc/inittab

index a6c0bc85a62b85c3725c6f117acfc78e5e820668..b944a93ada4b5ac92bb9ce3ba6981639abca741c 100644 (file)
@@ -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