1 2 3 4 5
#!/bin/sh [ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login exec /bin/login