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$ .\" $FreeBSD$
.\" .\"
.Dd December 13, 2022 .Dd June 10, 2023
.Dt RCORDER 8 .Dt RCORDER 8
.Os .Os
.Sh NAME .Sh NAME
@ -153,8 +153,10 @@ in use:
.It Sy firstboot , nojail , nojailvnet , nostart .It Sy firstboot , nojail , nojailvnet , nostart
Used by Used by
.Xr rc 8 . .Xr rc 8 .
.It Sy resume .It Sy suspend , resume
Used by Used by
.Nm /etc/rc.suspend
and
.Nm /etc/rc.resume .Nm /etc/rc.resume
(see (see
.Xr acpiconf 8 ) .Xr acpiconf 8 )

View File

@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd December 27, 2018 .Dd June 16, 2023
.Dt ACPICONF 8 .Dt ACPICONF 8
.Os .Os
.Sh NAME .Sh NAME
@ -81,27 +81,30 @@ or
before and after entering the given sleep state. before and after entering the given sleep state.
.Pp .Pp
The The
.Pa /etc/rc.suspend
and
.Pa /etc/rc.resume .Pa /etc/rc.resume
script uses the scripts use the
.Xr rcorder 8 .Xr rcorder 8
utility to call scripts in utility to call scripts in
.Pa /etc/rc.d/ .Pa /etc/rc.d/
and the and the
.Va $local_startup .Va $local_startup
directories that have a "resume" KEYWORD. directories that have a "suspend" or "resume" KEYWORD, respectively.
Called scripts are supplied with single "resume" Called scripts are supplied with a single "suspend" / "resume"
command line argument. See command line argument.
See
.Xr rc.conf 5 .Xr rc.conf 5
for more information about for more information about
.Va $local_startup . .Va $local_startup .
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr acpi 4 , .Xr acpi 4 ,
.Xr rc.conf 5 ,
.Xr acpidump 8 , .Xr acpidump 8 ,
.Xr apm 8 , .Xr apm 8 ,
.Xr apmd 8 , .Xr apmd 8 ,
.Xr devd 8 , .Xr devd 8 ,
.Xr rc.conf 5 ,
.Xr rcorder 8 .Xr rcorder 8
.Sh HISTORY .Sh HISTORY
The The