projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bf06359dee3d083d9e7ee9f29f83ca1c314af819
[openwrt-10.03/.git]
/
login
1
#!/bin/sh
2
[ "$FAILSAFE" = "true" ] && exec /bin/ash --login
3
4
[ -f /etc/sysconf ] && . /etc/sysconf
5
6
if [ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ]; then
7
echo "Login failed."
8
exit 0
9
fi
10
11
exec /bin/ash --login