diff options
author | emaste <emaste@FreeBSD.org> | 2010-09-28 20:57:14 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2010-09-28 20:57:14 +0000 |
commit | 3c1b275767c7953f82c94ce0ecea3bc0811618b7 (patch) | |
tree | e042184ca44509ba5193693efc5ec080468d927a /usr.bin | |
parent | 4087eace5d608acc5248d65d142e53a55c6942a6 (diff) | |
download | FreeBSD-src-3c1b275767c7953f82c94ce0ecea3bc0811618b7.zip FreeBSD-src-3c1b275767c7953f82c94ce0ecea3bc0811618b7.tar.gz |
Remove copyright strings printed at login time via login(1) or sshd(8).
It is not clear to what this copyright should apply, and this is in line
with what other operating systems do.
For ssh specifically, printing of the copyright string is not in the
upstream version so this reduces our FreeBSD-local diffs.
Approved by: core, des (ssh)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/login/login.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index da182aa..3e826d5 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); * login -f name (for pre-authenticated login: datakit, xterm, etc.) */ -#include <sys/copyright.h> #include <sys/param.h> #include <sys/file.h> #include <sys/stat.h> @@ -590,12 +589,6 @@ main(int argc, char *argv[]) if (!quietlog) { const char *cw; - cw = login_getcapstr(lc, "copyright", NULL, NULL); - if (cw == NULL || motd(cw) == -1) - (void)printf("%s", copyright); - - (void)printf("\n"); - cw = login_getcapstr(lc, "welcome", NULL, NULL); if (cw != NULL && access(cw, F_OK) == 0) motd(cw); |