From nobody Fri Jun 16 16:52:07 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QjQDm13K8z4dy8F; Fri, 16 Jun 2023 16:52:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QjQDm0Y3Zz3M18; Fri, 16 Jun 2023 16:52:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686934328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r8+IgWefBgfGKVWDPiopMo6BAqhu5+bdql2Z5+8wptE=; b=xUZTiNQxNgWkfgt4tTeN75Ctdf/p169BjAkwLsMLxMJek9IkkdtCCOu/erOQTWolbroZPD H4osf1VEva1lgVE75eDTO5V9IUlRcByAIU6KYtp3Cw51Re3/10BbrQhNuDxGcuX1yOmlBb GOWhsafIrBla+kOrnnZ/d7r56PxWIlrw6gD8C+c+eaVqSqoGZRp2COJ8LIzdhgY4Nd8G4d VOa0q7IPRQEdR0PZDcVDxbAYFiWL6kpCDEeN1UqMatRvWL6zFCSZ7fAHX6Rqy2hVn12juP 701c0tppxx/a9VFxfmmT80XcnyFzO3p3ZZ85V/wtZWxVBOjv1jMTK0mkhFiwyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686934328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=r8+IgWefBgfGKVWDPiopMo6BAqhu5+bdql2Z5+8wptE=; b=Ful+CGSvrbRd4j0Ku/zD/jImvghZf2Obo40EB5INbqO4vVEE19P26JNt3GqNP9svh8dEcU mLtszx2cw/A8j9w07gDe4aNNIkcR9JM2IzG3b1h0XScO1MN8rauecyztOkP7QrX3BYz+6n 9LPmjlyITsCTZs2Fe6dCtI6Ed11JP2IT8dudjvcxHIVt6AQ2qMxt8KNZdO4Ol1+xOe5NIf w7SlVhl8DCsMfifV/tG//5nxTEW9qCprUAtfvWNrYg5j4Y+/rRb0Ril8hn3DlHsOhQkDFb 62/GqmsK0GdGwuZHFopUJ2jHwIYG7dHpfcTVk6gJTfLTF8VDVWnkoInj0k7ceg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686934328; a=rsa-sha256; cv=none; b=Jndm0dRhujB78zCIJYntdmH9cqAFCLRuHXz7Od6WqzHfVa0Hz4fhgb6EEcY0amxxj14Ywe 7OL0QbwL4ohzaMUar6hXiwC8IMIEiGQ7LmCSa25V1ABX0gqg7gPHYrS4LqQZ03TaVi0Mh0 /72RCqlDOgUPUzSU4T8fgasPCda3H3OAnS2cLWzpfymy4OjeI2Wkf/KIjEiFuxYnWxgXRu zm3QGjXW0896SoWVPaldgMqUtDpm8n7cXAQHeJcOR/YFjbJObTCjyVh3EyDINW1zbZf/PT 5vK/RycWphYhXUMfI/hEiq36MBvZ6trT82OcnnvFZ2EaQ+h5fzHTYAlvig2LAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QjQDl6TRGzbSx; Fri, 16 Jun 2023 16:52:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35GGq7Ll087690; Fri, 16 Jun 2023 16:52:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35GGq7Ew087689; Fri, 16 Jun 2023 16:52:07 GMT (envelope-from git) Date: Fri, 16 Jun 2023 16:52:07 GMT Message-Id: <202306161652.35GGq7Ew087689@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: ec0bd8b07f79 - main - rc.suspend: update man pages for new keyword List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec0bd8b07f79b1533890740e38701a44748d639d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=ec0bd8b07f79b1533890740e38701a44748d639d commit ec0bd8b07f79b1533890740e38701a44748d639d Author: Johannes Totz AuthorDate: 2023-06-16 16:48:17 +0000 Commit: Mitchell Horne 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 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