aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/bin/login
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/bin/login')
-rwxr-xr-xopenwrt/package/base-files/default/bin/login16
1 files changed, 0 insertions, 16 deletions
diff --git a/openwrt/package/base-files/default/bin/login b/openwrt/package/base-files/default/bin/login
deleted file mode 100755
index 8f9281726d..0000000000
--- a/openwrt/package/base-files/default/bin/login
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-grep '^root:[^!]' /etc/passwd >&- 2>&-
-[ "$?" = "0" -a -z "$FAILSAFE" ] &&
-{
- echo "Login failed."
- exit 0
-} || {
-cat << EOF
- === IMPORTANT ============================
- Use 'passwd' to set your login password
- this will disable telnet and enable SSH
- ------------------------------------------
-EOF
-}
-
-exec /bin/ash --login