Re: Passing shutdown actions to /etc/rc.shutdown

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.