diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-19 20:42:34 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-19 20:42:34 +0200 |
commit | 528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459 (patch) | |
tree | 2796638c9d3f1c50c1889093af24030fa5d2e9a2 | |
parent | b4e33a1c08f7e0b980b14687ef601bd30634464a (diff) | |
download | upstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.tar.gz upstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.tar.bz2 upstream-528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459.zip |
base-files: remove ununsed login.sh
Signed-off-by: John Crispin <john@phrozen.org>
-rwxr-xr-x | package/base-files/files/bin/login.sh | 18 |
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 |