On Sat, Nov 30, 2024 at 05:02:24PM +0100, Christoph Badura wrote: > We have 3 cases where the kernel actually shuts down (and possibly exits > back to the firmware): shutdown -[hrp]. > > And we have the case where userland is shut down and the system enters > single user mode: shutdown without any of the above three arguments. > > I think you missed the latter case.
Indeed. I simplified it a lot in the commited version now (by reusing the "what" string that we already created for syslog. Martin