Change include search path for speex: it is now installed in STAGING_DIR/usr
[openwrt.git] / openwrt / target / default / target_skeleton / bin / login
1 #!/bin/sh
2 . /etc/sysconf 2>&-
3
4 [ "$FAILSAFE" != "true" ] &&
5 [ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ] &&
6 {
7 grep '^root:[^!]' /etc/passwd >&- 2>&- &&
8 {
9 echo "Login failed."
10 exit 0
11 } || {
12 cat << EOF
13 === IMPORTANT ============================
14 Use 'passwd' to set your login password
15 this will disable telnet and enable SSH
16 ------------------------------------------
17 EOF
18 }
19 }
20 exec /bin/ash --login
This page took 0.050477 seconds and 5 git commands to generate.