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

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

exec /bin/login