summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2020-09-13 12:11:07 +0000
committermartin <martin@NetBSD.org>2020-09-13 12:11:07 +0000
commitc95d68cdaf806fc94968524b20f4e6d20629443c (patch)
tree5f702032076ba89a819cd3c7a6fa844b981b147f /share
parent5ce9937df72d433b5dbc634b28fb35eb2de96276 (diff)
Pull up following revision(s) (requested by kim in ticket #1080):
etc/rc.d/motd: revision 1.10 etc/rc.d/motd: revision 1.11 share/man/man5/rc.conf.5: revision 1.186 share/man/man5/rc.conf.5: revision 1.187 etc/defaults/rc.conf: revision 1.159 Add optional release info in /etc/motd My personal preferencese for /etc/rc.conf: update_motd_release=YES motd_release_tag='Binaries: ' This provides an explanation to users about the second version in motd. Document update_motd_release and motd_release_tag New sentence, new line. Make a ": " suffix a fixed part of the release info tag This results in correct updates to /etc/motd even when the value of motd_release_tag is changed (a likely event). Add safe quoting to outputting the read kernel version. Thanks to kre@ for the feedback.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.516
1 files changed, 14 insertions, 2 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index b9690d5bb16..1f4bf396629 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -1,4 +1,4 @@
-.\" $NetBSD: rc.conf.5,v 1.181 2019/06/03 06:04:20 msaitoh Exp $
+.\" $NetBSD: rc.conf.5,v 1.181.2.1 2020/09/13 12:11:07 martin Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@@ -55,7 +55,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 3, 2019
+.Dd September 11, 2020
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -603,6 +603,18 @@ version string in the
file to reflect the version of the running kernel.
See
.Xr motd 5 .
+.It Sy update_motd_release
+Boolean value.
+If enabled in addition to
+.Sy update_motd ,
+updates a second
+.Nx
+version string in the
+.Pa /etc/motd
+file to reflect the version, architecture, and Build ID of
+the installed userland.
+An optional prefix can be provided for this version string in
+.Sy motd_release_tag .
.It Sy virecover
Boolean value.
Send notification mail to users if any recoverable files exist in