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

next in thread | previous in thread | raw e-mail | index | archive | help
Matteo Riondato wrote:
> 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.

I'm sorry I didn't make myself clear, but what I was actually getting at was
that traditionally the kernel boot verbose option and userland stuff like
rc.d have been orthogonal. However, it occurs to me that this does not
necessarily need to be so. I could see how it might be useful to set
rc_debug in rc.subr if the bootverbose sysctl is active. What do others
think about this?

Doug

-- 

    This .signature sanitized for your protection




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