Re: cvs commit: src/etc/rc.d localpkg

[ Available lists | Index of freebsd-rc | Month of Feb 2006 | Week of 13 Feb 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Doug Barton <dougb@FreeBSD.org>
Date
13 Feb 2006 08:50:14
Subject
Re: cvs commit: src/etc/rc.d localpkg
Message-ID
43F0483C.1080708@FreeBSD.org

In reply to

[ Hide this part ]
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



Elapsed time: 0.188 seconds