base-files: fix permissions of the login.sh script
[openwrt.git] / package / base-files / files / usr / libexec / login.sh
blob02ac9c828bc82e91af9b116efab5555df0a7706d
1 #!/bin/sh
3 [ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login
5 exec /bin/login