From 05adaa9794e41d02870a74a1ed7ba58cc59b9286 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 22 Nov 2006 23:30:57 +0000 Subject: rename default/ to files/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/bin/login | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 package/base-files/default/bin/login (limited to 'package/base-files/default/bin/login') diff --git a/package/base-files/default/bin/login b/package/base-files/default/bin/login deleted file mode 100755 index ff5d3660e..000000000 --- a/package/base-files/default/bin/login +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Copyright (C) 2006 OpenWrt.org - -grep '^root:[^!]' /etc/passwd >&- 2>&- -[ "$?" = "0" -a -z "$FAILSAFE" ] && -{ - echo "Login failed." - exit 0 -} || { -cat << EOF - === IMPORTANT ============================ - Use 'passwd' to set your login password - this will disable telnet and enable SSH - ------------------------------------------ -EOF -} - -exec /bin/ash --login -- cgit v1.2.3