base-files: correctly split install-key function for APK
[openwrt/openwrt.git] / package / base-files / files / usr / libexec / login.sh
1 #!/bin/sh
2
3 [ "$(uci -q get system.@system[0].ttylogin)" = 1 ] || exec /bin/ash --login
4
5 exec /bin/login