aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/bin/login.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/package/base-files/files/bin/login.sh b/package/base-files/files/bin/login.sh
deleted file mode 100755
index 754d290857..0000000000
--- a/package/base-files/files/bin/login.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006-2011 OpenWrt.org
-
-if ( ! grep -qsE '^root:[!x]?:' /etc/shadow || \
- ! grep -qsE '^root:[!x]?:' /etc/passwd ) && \
- [ -z "$FAILSAFE" ]
-then
- echo "Login failed."
- exit 0
-else
-cat << EOF
- === IMPORTANT ============================
- Use 'passwd' to set your login password!
- ------------------------------------------
-EOF
-fi
-
-exec /bin/ash --login