Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2025 19:57:01 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 404802777003 - main - motd.5: Mention /etc/motd + alignment polish
Message-ID:  <202501271957.50RJv1MY079681@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=404802777003b7fb37ca8013fe938eaa4de36103

commit 404802777003b7fb37ca8013fe938eaa4de36103
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2024-12-14 21:49:33 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-01-27 19:55:18 +0000

    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
---
 share/man/man5/motd.5 | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/share/man/man5/motd.5 b/share/man/man5/motd.5
index 5dce1ccd52ae..109fc4e56ca4 100644
--- a/share/man/man5/motd.5
+++ b/share/man/man5/motd.5
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501271957.50RJv1MY079681>