Sujet : Re: Shutdown - 25 Years Later
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 18. Apr 2025, 14:29:32
Autres entêtes
Message-ID : <sm0adlxusq.ln2@Telcontar.valinor>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 2025-04-18 12:41, vallor wrote:
On Fri, 18 Apr 2025 12:27:25 +0200, Marc Haber
<mh+usenetspam1118@zugschl.us> wrote in <vtt9ee$heug$1@news1.tnib.de>:
Farley Flud <ff@linux.rocks> wrote:
...
Just checked the man page for shutdown(8), and it says it was
added to systemd 250. It supports the timespec and wall parameters,
but I'm not sure how well...
Anyway, I'm running 255 on Linux Mint 22.1, which
seems to have been pulled in from the System76 repo that I use:
$ systemd --version
systemd 255 (255.4-1ubuntu8.6pop0~1742486928~24.04~40a1bd7~dev)
[...]
Telcontar:~ # l /sbin/poweroff
lrwxrwxrwx 1 root root 18 Mar 20 08:09 /sbin/poweroff -> /usr/bin/systemctl*
Telcontar:~ # which shutdown
/sbin/shutdown
Telcontar:~ # l /sbin/shutdown
lrwxrwxrwx 1 root root 18 Mar 20 08:09 /sbin/shutdown -> /usr/bin/systemctl*
Telcontar:~ #
Telcontar:~ # whatis poweroff
poweroff (8) - Power off, reboot, or halt the machine
Telcontar:~ # whatis shutdown
shutdown (2) - shut down part of a full-duplex connection
shutdown (3p) - shut down socket send and receive operations
shutdown (8) - Halt, power off or reboot the machine
Telcontar:~ #
Both work perfectly here.
-- Cheers, Carlos.