git: ec0bd8b07f79 - main - rc.suspend: update man pages for new keyword
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jun 2023 16:52:07 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=ec0bd8b07f79b1533890740e38701a44748d639d
commit ec0bd8b07f79b1533890740e38701a44748d639d
Author: Johannes Totz <jo@brulltuete.com>
AuthorDate: 2023-06-16 16:48:17 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-06-16 16:51:10 +0000
rc.suspend: update man pages for new keyword
rc.suspend has gained an rcorder keyword recently. Document it alongside
the existing resume keyword.
Reviewed By: mhorne, Pau Amma <pauamma@gundo.com>
Differential Revision: https://reviews.freebsd.org/D40484
---
sbin/rcorder/rcorder.8 | 6 ++++--
usr.sbin/acpi/acpiconf/acpiconf.8 | 15 +++++++++------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/sbin/rcorder/rcorder.8 b/sbin/rcorder/rcorder.8
index 96cd1c9b6a97..c99ea92668b1 100644
--- a/sbin/rcorder/rcorder.8
+++ b/sbin/rcorder/rcorder.8
@@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 13, 2022
+.Dd June 10, 2023
.Dt RCORDER 8
.Os
.Sh NAME
@@ -153,8 +153,10 @@ in use:
.It Sy firstboot , nojail , nojailvnet , nostart
Used by
.Xr rc 8 .
-.It Sy resume
+.It Sy suspend , resume
Used by
+.Nm /etc/rc.suspend
+and
.Nm /etc/rc.resume
(see
.Xr acpiconf 8 )
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.8 b/usr.sbin/acpi/acpiconf/acpiconf.8
index 53888d8489ea..92b607a2c310 100644
--- a/usr.sbin/acpi/acpiconf/acpiconf.8
+++ b/usr.sbin/acpi/acpiconf/acpiconf.8
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 27, 2018
+.Dd June 16, 2023
.Dt ACPICONF 8
.Os
.Sh NAME
@@ -81,27 +81,30 @@ or
before and after entering the given sleep state.
.Pp
The
+.Pa /etc/rc.suspend
+and
.Pa /etc/rc.resume
-script uses the
+scripts use the
.Xr rcorder 8
utility to call scripts in
.Pa /etc/rc.d/
and the
.Va $local_startup
-directories that have a "resume" KEYWORD.
-Called scripts are supplied with single "resume"
-command line argument. See
+directories that have a "suspend" or "resume" KEYWORD, respectively.
+Called scripts are supplied with a single "suspend" / "resume"
+command line argument.
+See
.Xr rc.conf 5
for more information about
.Va $local_startup .
.El
.Sh SEE ALSO
.Xr acpi 4 ,
+.Xr rc.conf 5 ,
.Xr acpidump 8 ,
.Xr apm 8 ,
.Xr apmd 8 ,
.Xr devd 8 ,
-.Xr rc.conf 5 ,
.Xr rcorder 8
.Sh HISTORY
The