image / basefiles: make console password configurable

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2016-04-18 21:53:07 +02:00
parent 5e85ae9e4c
commit dc92917409
22 changed files with 48 additions and 42 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/sh
[ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
exec /bin/login