aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr/libexec/login.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/usr/libexec/login.sh')
-rwxr-xr-xpackage/base-files/files/usr/libexec/login.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/usr/libexec/login.sh b/package/base-files/files/usr/libexec/login.sh
index 3c8bb509c0..1fff39c6a0 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 -q 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