git: a130a604a4fb - main - rc.conf.5: document precious_machine

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 07 May 2025 14:45:45 UTC
The branch main has been updated by kib:

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

commit a130a604a4fb0e9a6d767c7c3f0422396d61b2b1
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-06 17:39:14 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-07 14:44:59 +0000

    rc.conf.5: document precious_machine
    
    Reviewed by:    bapt
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D50215
---
 share/man/man5/rc.conf.5 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 9681542bff41..7dbea16d51f9 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -4956,6 +4956,16 @@ daemon.
 .Dq Li YES ,
 these are the flags to pass to the
 .Xr sendmail 8
+.It Va precious_machine
+If set to
+.Dq Li YES ,
+some destructive actions require removal of the action-specific safe-belts
+before being allowed.
+For instance, the file
+.Pa /var/run/noshutdown
+is created to prevent
+.Xr shutdown 8
+targeted at the wrong machine.
 .El
 .Sh SERVICE JAILS
 The service jails part of the rc system automatically puts a service