move source file to src/ and let the kernel tree build the modules.
[openwrt.git] / package / base-files / default / bin / login
1 #!/bin/sh
2 grep '^root:[^!]' /etc/passwd >&- 2>&-
3 [ "$?" = "0" -a -z "$FAILSAFE" ] &&
4 {
5 echo "Login failed."
6 exit 0
7 } || {
8 cat << EOF
9 === IMPORTANT ============================
10 Use 'passwd' to set your login password
11 this will disable telnet and enable SSH
12 ------------------------------------------
13 EOF
14 }
15
16 exec /bin/ash --login
This page took 0.039906 seconds and 5 git commands to generate.