summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc
diff options
context:
space:
mode:
authorOliver Ertl <oliver@ertl-net.net>2006-01-14 20:18:39 +0000
committerOliver Ertl <oliver@ertl-net.net>2006-01-14 20:18:39 +0000
commit720f61bc0730cc589223e80ad2ea5c21ed490c16 (patch)
treea3e1124f5ee7b97e497b49f50684127070df0b09 /openwrt/package/base-files/default/etc
parenta0460f5228e1bc539334f85fa56b705d3d22adab (diff)
downloadmtk-20170518-720f61bc0730cc589223e80ad2ea5c21ed490c16.zip
mtk-20170518-720f61bc0730cc589223e80ad2ea5c21ed490c16.tar.gz
mtk-20170518-720f61bc0730cc589223e80ad2ea5c21ed490c16.tar.bz2
fixes #207
SVN-Revision: 2983
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S50telnet2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S50telnet b/openwrt/package/base-files/default/etc/init.d/S50telnet
index e7d4d36..ff5659e 100755
--- a/openwrt/package/base-files/default/etc/init.d/S50telnet
+++ b/openwrt/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