diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-04 09:35:55 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-04 09:35:55 +0000 |
commit | fcd35cb0612843f78e375122e501ee602e8fc692 (patch) | |
tree | 5021fe411a0b30dac9f7fd94d8bda65374c1f950 /package/base-files/files/bin/login | |
parent | d58097e65d4681baa09ddedb006dd82c1f4c3354 (diff) |
rename our /bin/login script to /bin/login.sh to avoid collisions with busybox - we always use -l on telnetd anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15097 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/bin/login')
-rwxr-xr-x | package/base-files/files/bin/login | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/package/base-files/files/bin/login b/package/base-files/files/bin/login deleted file mode 100755 index ff5d3660e..000000000 --- a/package/base-files/files/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 |