aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr/libexec/login.sh
blob: 1fff39c6a069e460dba75873218340e753ffaaff (plain)
1
2
3
4
5
#!/bin/sh

[ "$(uci -q get system.@system[0].ttylogin)" = 1 ] || exec /bin/ash --login

exec /bin/login