diff options
author | Oliver Ertl <oliver@ertl-net.net> | 2006-01-14 20:18:39 +0000 |
---|---|---|
committer | Oliver Ertl <oliver@ertl-net.net> | 2006-01-14 20:18:39 +0000 |
commit | 720f61bc0730cc589223e80ad2ea5c21ed490c16 (patch) | |
tree | a3e1124f5ee7b97e497b49f50684127070df0b09 /openwrt/package/base-files/default/etc | |
parent | a0460f5228e1bc539334f85fa56b705d3d22adab (diff) | |
download | mtk-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-x | openwrt/package/base-files/default/etc/init.d/S50telnet | 2 |
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 |