On Tue, Nov 22, 2022 at 06:22:57PM +0100, to...@tuxteam.de wrote: > Hm. With SysV, you can't either (spoiler alert: the shutdown process > itself is the one doing the timing by sleeping until fulfillment of > its task). But you always can cancel it (shutdown -c with SysV, dunno, > again, with systemd).
The systemd shutdown(8) man page has a -c option for canceling a pending shutdown. I have not tested this.