Date: Tue, 9 May 2023 14:28:46 -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: <slrnu5km4u.5s5.pmc@disp.intra.daemon.contact> References: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com> <slrnu5b0r1.54r.pmc@disp.intra.daemon.contact> <CACc-My0NmhNGZ0uGcPK_4iqZopOAXApSWb6P6kiXdri4Aoj=uA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-05-06, Stefan Blachmann <sblachmann@gmail.com> wrote: > On 5/5/23, Peter 'PMc' Much <pmc@citylink.dinoex.sub.org> wrote: >> 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. > > Can't this timeout delay be made configurable, or just that the > suspend scripts complete, instead of killing them? > There seemed to be some interaction with the acpi, and I didn't bother to figure out the details. I did put my 'service stop' tasks into /usr/local/etc/devd/* to act on the ACPI/Suspend event, and that does currently suit my needs.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnu5km4u.5s5.pmc>
