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
This commit is contained in:
Johannes Totz 2023-06-16 13:48:17 -03:00 committed by Mitchell Horne
parent 5fc97cc325
commit ec0bd8b07f
2 changed files with 13 additions and 8 deletions

View file

@ -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 )

View file

@ -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