Sujet : Re: Shutdown - 25 Years Later
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 20. Apr 2025, 06:18:57
Autres entêtes
Message-ID : <m6jee1Fe1h3U3@mid.individual.net>
References : 1 2 3
User-Agent : Pan/0.160 (Toresk; )
On Sat, 19 Apr 2025 22:30:51 -0000 (UTC), Lawrence D'Oliveiro wrote:
So ... nothing but a symlink. But doesn’t it fully support the usual
shutdown options, including delay?
If you run 'man systemctl' the entries are like
poweroff
Shut down and power-off the system. This is mostly equivalent to
systemctl start poweroff.target --job-mode=replace-irreversibly --no-
block, but also prints a wall message to all users. This command is
asynchronous; it will return after the power-off operation is enqueued,
without waiting for it to complete.
This command honors --force and --when= in a similar way as halt.
It's a long man page and a systemctl guru can probably do many strange and
wonderful things. personally, if 'shutdown -r now' works like it always
did i'm not going to dig into the plumbing.