tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: logging and silencing /etc/rc output
On Wed, 09 Sep 2009, Alan Barrett wrote:
> An updated patch is available from
> <ftp://ftp.netbsd.org/pub/NetBSD/misc/apb/rc.20090909.diff>. As
> before, patched copies of rc and rc.subr are also available,
> from <ftp://ftp.netbsd.org/pub/NetBSD/misc/apb/rc> and
> <ftp://ftp.netbsd.org/pub/NetBSD/misc/apb/rc.subr>.
To test this without building a new kernel, you will need the new
versions of /etc/rc, /etc/rc.subr, and the following two lines in
rc.conf:
rc_silent-true
rc_silent_cmd=twiddle
Your next boot should then run /etc/rc in twiddle mode, and
/var/run/rc.log should be created.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index