projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2e2f7
)
base-files: remove ununsed login.sh
author
Luka Perkov
<luka@openwrt.org>
Tue, 10 May 2016 22:36:28 +0000
(22:36 +0000)
committer
Luka Perkov
<luka@openwrt.org>
Tue, 10 May 2016 22:36:28 +0000
(22:36 +0000)
Signed-off-by: John Crispin <john@phrozen.org>
SVN-Revision: 49327
package/base-files/files/bin/login.sh
[deleted file]
patch
|
blob
|
history
diff --git
a/package/base-files/files/bin/login.sh
b/package/base-files/files/bin/login.sh
deleted file mode 100755
(executable)
index
754d290
..0000000
--- 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