summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/bin/login
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/default/target_skeleton/bin/login')
-rwxr-xr-xopenwrt/target/default/target_skeleton/bin/login20
1 files changed, 0 insertions, 20 deletions
diff --git a/openwrt/target/default/target_skeleton/bin/login b/openwrt/target/default/target_skeleton/bin/login
deleted file mode 100755
index bb065e54a..000000000
--- a/openwrt/target/default/target_skeleton/bin/login
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-. /etc/sysconf 2>&-
-
-[ "$FAILSAFE" != "true" ] &&
-[ "$BR2_SYSCONF_TELNET_FAILSAFE_ONLY" = "y" ] &&
-{
- grep '^root:[^!]' /etc/passwd >&- 2>&- &&
- {
- 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