From nobody Mon Jan 27 19:57:01 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YhfMK3wXQz5mBcY; Mon, 27 Jan 2025 19:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YhfMK3DtHz3FWW; Mon, 27 Jan 2025 19:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738007821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s7O6Y8+VpsOfyPNN0Udlehg60357qDKG84T/WyP9FNI=; b=Yy3nDVlm0vbR5gM4c7hJ5gwyNZuXx7bFipc8291GyTciHdUA0CcsG1bhwevCnfbFn5Hfap k6wHot8z0rvtF2hyrkTgXVtL9htZYHquZt8OsOmCoYfZPfR3cHUSUIKi56DdO6zcv5wIxA in8GufrimELtlTVWvcDHJvtRuscMKPo4e8gU4uEmwXfaT45slGPyRu8bPLfNKCqf+dMocU LW0EZcg8nR+9l7Wmicj6vykMJO3C8JMHM0plovCVurzywjVkhjgQ6rMw/wBYkses6JvcqH DjZzlNOpZRoyqiaD+nwJ+aoRrB/ZI5ofP8wTGL+A/bwN4CdawNjMt1C7c7Zo8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738007821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s7O6Y8+VpsOfyPNN0Udlehg60357qDKG84T/WyP9FNI=; b=Sdlk0i7VXVAcgd7urOGkUXVXO8C+CaMCVaAQ4WFBsXmCsMpznlU9HUw9qfjplvLaJC3J3g oBKLEEORWrHFQvjlHtIGVdRKfzWYgcf+I0GgwPp43xBYKTT/6mjsGfG6TUrSlIIfA+8TQ6 iKKd83Hr7WYa81CuecalP26rGvSzsVfBhMIyaLai829+I5F0t8DknkDx3Q6O+njLvrlcfN UHoq6W53hAXjN6ku1DZgOUjlemekCkHeDP+ghPJ3wjNQOfVcCWUMmkDRmhhe4voKDC9kjp aGa/spo6WL1puE6Jwn7Lx6SkNU24BYQbSmnIi+7oYGiIqf1/yTRhePnCD2S1BA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738007821; a=rsa-sha256; cv=none; b=eN3rPbE23pquBmeDULMV/IkcGAmRSRF6n3viv6FadxVRbyRwbOPZzHEY+Df7Ah0YzWxr+y bockImBIcYRnknrG7rMysFu95C9myF/WXU+VWTJa60aMgMDTkMIchB5k2NaahDC4wU0f/y pU+9kqjAiWkQ22ypisn4I/8OUaJFJADCuUtJAYKT5w+KbxiuzFpXyxlUHbIDJdB3P7TM2N xjMUFl+2DVWtWwBt/dmu+VRBRz1P3hZoE86NZoBCElrrxmBDnYk9rQY6eKfbkNLkY1oxFH U863Y3lIDsn7pscUX8QWG/QzjwGmpS8fBemON2TBvke7wKj2Hc5N9h6qME+bzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YhfMK2XDCzjsR; Mon, 27 Jan 2025 19:57:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50RJv1JB079684; Mon, 27 Jan 2025 19:57:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50RJv1MY079681; Mon, 27 Jan 2025 19:57:01 GMT (envelope-from git) Date: Mon, 27 Jan 2025 19:57:01 GMT Message-Id: <202501271957.50RJv1MY079681@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 404802777003 - main - motd.5: Mention /etc/motd + alignment polish List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 404802777003b7fb37ca8013fe938eaa4de36103 Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=404802777003b7fb37ca8013fe938eaa4de36103 commit 404802777003b7fb37ca8013fe938eaa4de36103 Author: Alexander Ziaee AuthorDate: 2024-12-14 21:49:33 +0000 Commit: Alexander Ziaee 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