dinit icon indicating copy to clipboard operation
dinit copied to clipboard

soft-reboot doesn't execute shutdown hooks

Open davmac314 opened this issue 7 months ago • 2 comments

soft-reboot doesn't execute the shutdown hook script, which isn't documented. It should at least be documented, or otherwise fixed.

(Probably want to execute them by executing shutdown with some arguments such as -s --system, but will need to fork to run shutdown rather than execing it without forking).

davmac314 avatar Apr 01 '25 11:04 davmac314