diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/bin/login.sh (renamed from package/base-files/files/bin/login) | 0 | ||||
-rwxr-xr-x | package/base-files/files/etc/preinit | 2 | ||||
-rwxr-xr-x | package/busybox/files/telnet | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/bin/login b/package/base-files/files/bin/login.sh index ff5d366..ff5d366 100755 --- a/package/base-files/files/bin/login +++ b/package/base-files/files/bin/login.sh diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 89dc3bc..7644383 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -11,7 +11,7 @@ failsafe() { [ -n "$ifname" ] && grep "$ifname" /proc/net/dev >/dev/null && { failsafe_ip netmsg 192.168.1.255 "Entering Failsafe!" - telnetd -l /bin/login <> /dev/null 2>&1 + telnetd -l /bin/login.sh <> /dev/null 2>&1 } lock /tmp/.failsafe ash --login diff --git a/package/busybox/files/telnet b/package/busybox/files/telnet index ec99172..082aba7 100755 --- a/package/busybox/files/telnet +++ b/package/busybox/files/telnet @@ -7,7 +7,7 @@ start() { awk -F: '/^root:/ && ($2 != "") && ($2 !~ /\!/) {exit 1}' /etc/passwd 2>/dev/null || \ ( [ \! -x /usr/sbin/dropbear ] && [ \! -x /usr/sbin/sshd ] ) then \ - telnetd -l /bin/login + telnetd -l /bin/login.sh fi } |