diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-04 09:35:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-04 09:35:55 +0000 |
commit | af309feb5374d4fec6db1f325f56de5686ff15e7 (patch) | |
tree | 5021fe411a0b30dac9f7fd94d8bda65374c1f950 /package/base-files/files/bin/login | |
parent | 92fbe74bf9de9eee2f65dc7bc5e7a82d20e12e6e (diff) | |
download | upstream-af309feb5374d4fec6db1f325f56de5686ff15e7.tar.gz upstream-af309feb5374d4fec6db1f325f56de5686ff15e7.tar.bz2 upstream-af309feb5374d4fec6db1f325f56de5686ff15e7.zip |
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 ff5d3660e4..0000000000 --- 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 |