projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename our /bin/login script to /bin/login.sh to avoid collisions with busybox -...
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
etc
/
preinit
diff --git
a/package/base-files/files/etc/preinit
b/package/base-files/files/etc/preinit
index 89dc3bcfdf0fd0a5d1e3b09ac73ac6b5a04275c4..76443836e39e055642d02da5dcd0f8e9784c14d6 100755
(executable)
--- 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