upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / package / base-files / files / bin / login
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3
4 grep '^root:[^!]' /etc/passwd >&- 2>&-
5 [ "$?" = "0" -a -z "$FAILSAFE" ] &&
6 {
7 echo "Login failed."
8 exit 0
9 } || {
10 cat << EOF
11 === IMPORTANT ============================
12 Use 'passwd' to set your login password
13 this will disable telnet and enable SSH
14 ------------------------------------------
15 EOF
16 }
17
18 exec /bin/ash --login
This page took 0.054013 seconds and 5 git commands to generate.