projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add wrt54g v2 info
[openwrt.git]
/
target
/
default
/
target_skeleton
/
bin
/
login
diff --git
a/target/default/target_skeleton/bin/login
b/target/default/target_skeleton/bin/login
index
7520824
..
bf06359
100755
(executable)
--- a/
target/default/target_skeleton/bin/login
+++ b/
target/default/target_skeleton/bin/login
@@
-1,2
+1,11
@@
#!/bin/sh
-exec ash --login
+[ "$FAILSAFE" = "true" ] && exec /bin/ash --login
+
+[ -f /etc/sysconf ] && . /etc/sysconf
+
+if [ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ]; then
+ echo "Login failed."
+ exit 0
+fi
+
+exec /bin/ash --login
This page took
0.019162 seconds
and
4
git commands to generate.