diff options
author | Warner Losh <imp@FreeBSD.org> | 2020-10-19 01:16:39 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2020-10-19 01:16:39 +0000 |
commit | 618cdd89645f0a6af3ef85c59fda975888ae83f8 (patch) | |
tree | 446b6a0be05a1f74b8fb898c3b69020f9e2fabf8 | |
parent | 07335072e2dc46cc50b49362e6da4f3854d68cd9 (diff) | |
download | src-test2-618cdd89645f0a6af3ef85c59fda975888ae83f8.tar.gz src-test2-618cdd89645f0a6af3ef85c59fda975888ae83f8.zip |
Notes
-rw-r--r-- | share/man/man5/motd.5 | 12 | ||||
-rw-r--r-- | usr.bin/login/motd.template | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/share/man/man5/motd.5 b/share/man/man5/motd.5 index 9feb0479b926..d293e93fdcd6 100644 --- a/share/man/man5/motd.5 +++ b/share/man/man5/motd.5 @@ -3,7 +3,7 @@ .\" This file is in the public domain. .\" $FreeBSD$ .\" -.Dd July 20, 2019 +.Dd October 18, 2020 .Dt MOTD 5 .Os .Sh NAME @@ -22,6 +22,14 @@ prepended to and the contents are written to .Pa /var/run/motd . .Pp +.Pa /var/run/motd +can be updated without a system reboot by manually restarting the +motd service after updating +.Pa /etc/motd.template: +.Bd -literal -offset -ident -compact +service motd restart +.Ed +.Pp Individual users may suppress the display of this file by creating a file named .Dq Pa .hushlogin @@ -39,7 +47,7 @@ Suppresses output of .El .Sh EXAMPLES .Bd -literal -FreeBSD 2.1.6.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 1996 +FreeBSD 12.1-RELEASE (GENERIC) #0: Sun Dec 29 03:08:31 PST 2019 /home is full. Please cleanup your directories. .Ed diff --git a/usr.bin/login/motd.template b/usr.bin/login/motd.template index 80d790959802..ea98a3266c3a 100644 --- a/usr.bin/login/motd.template +++ b/usr.bin/login/motd.template @@ -17,4 +17,4 @@ Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier -Edit /etc/motd.template to change this login announcement. +To change this login announcement, see motd(5). |