summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-14 20:18:39 +0000
committerolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-14 20:18:39 +0000
commit684c3d2f3c7314ce8518e7cbf3892db6f5588e87 (patch)
treeb46aa39c590a89618d5978aa995182eb421583f3 /package/base-files
parentfa581ccc610cfa43336033b9e4cccae750e18466 (diff)
fixes #207
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S50telnet2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S50telnet b/package/base-files/default/etc/init.d/S50telnet
index e7d4d36773..ff5659ed47 100755
--- a/package/base-files/default/etc/init.d/S50telnet
+++ b/package/base-files/default/etc/init.d/S50telnet
@@ -1,2 +1,2 @@
#!/bin/sh
-if awk -F: '/^root:/ && $2 !~ /\*/ {exit 1}' /etc/passwd 2>/dev/null || test $FAILSAFE; then telnetd -l /bin/login; fi
+if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null || test $FAILSAFE; then telnetd -l /bin/login; fi