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