aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-04-19 20:42:34 +0200
committerJohn Crispin <blogic@openwrt.org>2016-04-19 20:42:34 +0200
commit528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459 (patch)
tree2796638c9d3f1c50c1889093af24030fa5d2e9a2 /package/base-files
parentb4e33a1c08f7e0b980b14687ef601bd30634464a (diff)
downloadupstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.tar.gz
upstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.tar.bz2
upstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.zip
base-files: remove ununsed login.sh
Signed-off-by: John Crispin <john@phrozen.org>
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