Date: Fri, 5 May 2023 22:29:53 -0000 (UTC) From: "Peter 'PMc' Much" <pmc@citylink.dinoex.sub.org> To: freebsd-hackers@freebsd.org Subject: Re: Run scripts from rc.suspend Message-ID: <slrnu5b0r1.54r.pmc@disp.intra.daemon.contact> References: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-05-04, Johannes Totz <jo@bruelltuete.com> wrote: > 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? I found there is a rather short timeout, when the susppend script will not complete running child processes and give up (hand over to acpi). OTOH stopping processes may sometimes be fast and sometimes take a while - so the outcome is likely an unpredictable state in the suspend, and some people don't like that.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnu5b0r1.54r.pmc>