From 528ffec3cd6f49b4a98c8fce3d9b5dfb7f30e459 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 19 Apr 2016 20:42:34 +0200 Subject: [PATCH] base-files: remove ununsed login.sh Signed-off-by: John Crispin --- package/base-files/files/bin/login.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 package/base-files/files/bin/login.sh diff --git a/package/base-files/files/bin/login.sh b/package/base-files/files/bin/login.sh deleted file mode 100755 index 754d2908576..00000000000 --- 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 -- 2.30.2