Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / package / base-files / files / usr / libexec / login.sh
index 02ac9c828bc82e91af9b116efab5555df0a7706d..1fff39c6a069e460dba75873218340e753ffaaff 100755 (executable)
@@ -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