cvs commit: src/etc/rc.d localpkg

Matteo Riondato matteo at freebsd.org
Sun Feb 12 22:50:42 PST 2006


On Mon, Feb 13, 2006 at 01:01:38AM +0100, Philip Paeps wrote:
> On 2006-02-12 15:21:38 (-0800), Doug Barton <dougb at FreeBSD.org> wrote:
> > Matteo Riondato wrote:
> > > Make localpkg print local scripts names when the boot is verbose
> > 
> > Please hold off on the MFC of this patch till we have a chance to discuss it
> > more. I'm not opposed to the concept of printing out script names as they
> > are executed, but that should be done using one of the existing rc.subr
> > mechanisms (probably debug, as that's how it's done in rc.subr for new style
> > scripts).
> 
> If magic is available in rc.subr, I agree that would be preferable to use in
> place of the 'echo' used now.  Is there a function in rc.subr to take care of
> the 'if bootverbose then echo foo' entirely?

If there's such magic, I'll be glad to modify localpkg and make it
using the magic. 
I'll search for it later, but feel free to make suggestions.

Thank you Doug for having pointed this out.

Best Regards
-- 
Matteo Riondato
FreeBSD Volunteer (http://freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)


More information about the freebsd-rc mailing list