Re: Run scripts from rc.suspend

From: Peter 'PMc' Much <pmc_at_citylink.dinoex.sub.org>
Date: Fri, 05 May 2023 22:29:53 UTC
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.