motd.5: Mention /etc/motd + alignment polish

+ description: Space example by writing a little cleaner
+ files: Align files list width + explain /etc/motd link

MFC after:		3 days
Reviewed by:		mhorne, rpokala
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D48085

(cherry picked from commit 404802777003b7fb37ca8013fe938eaa4de36103)
This commit is contained in:
Alexander Ziaee 2024-12-14 16:49:33 -05:00
parent 3cedc5a9f1
commit 9d32e928c2
No known key found for this signature in database
GPG key ID: 0A8F850BCDEF4511

View file

@ -2,7 +2,7 @@
.\"
.\" This file is in the public domain.
.\"
.Dd October 18, 2020
.Dd December 14, 2024
.Dt MOTD 5
.Os
.Sh NAME
@ -25,9 +25,8 @@ and the contents are written to
can be updated without a system reboot by manually restarting the
motd service after updating
.Pa /etc/motd.template :
.Bd -literal -offset indent -compact
service motd restart
.Ed
.Pp
.Dl service motd restart
.Pp
Individual users may suppress the display of this file by
creating a file named
@ -35,7 +34,10 @@ creating a file named
in their home directories or through
.Xr login.conf 5 .
.Sh FILES
.Bl -tag -width $HOME/.hushlogin -compact
.Bl -tag -width "/etc/motd.template" -compact
.It Pa /etc/motd
Symbolic link to
.Pa /var/run/motd .
.It Pa /etc/motd.template
The template file that system administrators can edit.
.It Pa /var/run/motd