Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 07:50:39 +0100
From:      Matteo Riondato <matteo@freebsd.org>
To:        Philip Paeps <philip@freebsd.org>, Craig Carey <research@ijs.co.nz>, freebsd-rc@freebsd.org
Subject:   Re: cvs commit: src/etc/rc.d localpkg
Message-ID:  <20060213065039.GC1131@kaiser.sig11.org>
In-Reply-To: <20060213000138.GF5084@fasolt.home.paeps.cx>
References:  <200602121004.k1CA4vJG056410@repoman.freebsd.org> <43EFC302.40001@FreeBSD.org> <20060213000138.GF5084@fasolt.home.paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 13, 2006 at 01:01:38AM +0100, Philip Paeps wrote:
> On 2006-02-12 15:21:38 (-0800), Doug Barton <dougb@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060213065039.GC1131>