Sujet : Re: Shutdown - 25 Years Later
De : mh+usenetspam1118 (at) *nospam* zugschl.us (Marc Haber)
Groupes : comp.os.linux.advocacyDate : 18. Apr 2025, 11:27:25
Autres entêtes
Organisation : private site, see http://www.zugschlus.de/ for details
Message-ID : <vtt9ee$heug$1@news1.tnib.de>
References : 1
User-Agent : Forte Agent 6.00/32.1186
Farley Flud <
ff@linux.rocks> wrote:
Note: the "shutdown" command belongs the package "sysvinit"
and probably has been replaced within the junk Systemd that
has grabbed the balls of most, but not all (and certainly
not mine), GNU/Linux distros.
Surprisingly, in Debian the shutdown binary is in the systemd-sysv
package and will thus vanish as soon as we¹ eventually get rid of the
last init script, but I am pretty sure that shutdown nowadays just
issues a command to systemd like the appropriate systemctl reboot or
systemctl halt.
Unfortunately, systemd doesn't offer a native equivalent to a timed
shutdown, so one has to do an arcane construct involving systemd-run
and a transient unit to achive that, but that's just the way things
are. Not everything around systemd is good.
That being said, don't feed the troll any more.
Greetings
Marc
¹ Debian
-- ----------------------------------------------------------------------------Marc Haber | " Questions are the | Mailadresse im HeaderRhein-Neckar, DE | Beginning of Wisdom " | Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402