Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
6 lines
102 B
Bash
Executable File
6 lines
102 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
|
|
|
|
exec /bin/login
|