From nobody Thu May 04 14:37:48 2023 X-Original-To: freebsd-hackers@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 4QBxHr38Bdz49BHh for ; Thu, 4 May 2023 14:38:00 +0000 (UTC) (envelope-from jo@bruelltuete.com) Received: from email.jo-t.de (seppel.jo-t.de [45.132.244.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QBxHp4wZYz3HsQ for ; Thu, 4 May 2023 14:37:58 +0000 (UTC) (envelope-from jo@bruelltuete.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bruelltuete.com header.s=bruelltuete18a header.b=G0Ly1eBb; spf=pass (mx1.freebsd.org: domain of jo@bruelltuete.com designates 45.132.244.126 as permitted sender) smtp.mailfrom=jo@bruelltuete.com; dmarc=pass (policy=none) header.from=bruelltuete.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bruelltuete.com; s=bruelltuete18a; t=1683211071; bh=0QceyAFx29yVZIk1czKySISYP/io/U0cM7JYe962xBw=; h=Message-ID:Date:MIME-Version:To:From:Subject:From; b=G0Ly1eBb7YwayEaEiF2YBSqeoHjyazi0iClCCqOVj8ar8OZqKcnSmWUnpQVce5u8l o9W9v7Wxxoqm6kjFyxTM8qvRLFPRA1XQhKFBIr6j0O+fJkS7f74J9RaVXKbJ6IKLrM B5tNhTxM9KRQx/bROj6a3zq72g2c9PYQlZGmlAkGjbilQ6gPPPvxJ8vuFYUBqdn0kZ Ec/yWXnbH9unVN8CYifu709Yb+obr/aIJPEGrelk8p3Jd0Z8b95havpMP92UJjyKN8 aujGXWbOJLol3sHOXT+iFXOC4XG+mEZLbu09p3WkJRl3ueYop+joq72dr6aMVvc8qa yzi9PWc4Gijyw== Message-ID: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com> Date: Thu, 4 May 2023 15:37:48 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-GB To: freebsd-hackers@FreeBSD.org From: Johannes Totz Subject: Run scripts from rc.suspend Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[bruelltuete.com,none]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[bruelltuete.com:s=bruelltuete18a]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:197540, ipnet:45.132.244.0/22, country:DE]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[bruelltuete.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QBxHp4wZYz3HsQ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi everyone, /etc/rc.resume can run rc-scripts with the resume keyword. /etc/rc.suspend does not have a similar feature. Is there a good reason why not? Or is it just a case of nobody-asked-for-it-yet? cheers, Johannes