diff options
author | Luka Perkov <luka@openwrt.org> | 2016-05-10 22:36:28 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2016-06-19 19:28:07 +0200 |
commit | 66e6517d6526207d816fdd78d5f7c30a0f7d354e (patch) | |
tree | afc95533d206204306ec939e6410e06d06b5cfe1 /package | |
parent | bfdaaaa54f12f2f196b5ba159fed464d60456312 (diff) | |
download | master-187ad058-66e6517d6526207d816fdd78d5f7c30a0f7d354e.tar.gz master-187ad058-66e6517d6526207d816fdd78d5f7c30a0f7d354e.tar.bz2 master-187ad058-66e6517d6526207d816fdd78d5f7c30a0f7d354e.zip |
base-files: remove ununsed login.sh
Signed-off-by: John Crispin <john@phrozen.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49327 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 |