X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fusr%2Flibexec%2Flogin.sh;h=3c8bb509c02860d94c7a5c22c54ccb66334fa42b;hp=02ac9c828bc82e91af9b116efab5555df0a7706d;hb=c31f0421ceb47f347ade7317f263fcd09cfe325f;hpb=fea89fa25b5e54ebf2ce5cc771a3f1eb20c6d972 diff --git a/package/base-files/files/usr/libexec/login.sh b/package/base-files/files/usr/libexec/login.sh index 02ac9c828b..3c8bb509c0 100755 --- a/package/base-files/files/usr/libexec/login.sh +++ b/package/base-files/files/usr/libexec/login.sh @@ -1,5 +1,5 @@ #!/bin/sh -[ "$(uci get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login +[ "$(uci -q get system.@system[0].ttylogin)" == 1 ] || exec /bin/ash --login exec /bin/login