Use of rcorder for local rc.d/*.sh scripts

Doug Barton dougb at FreeBSD.org
Sun Jun 12 19:27:36 GMT 2005


Doug Barton wrote:
> Ok, here is a patch. Sorry it took so long to get to this, but real life 
> interfered.
> 
> I used JR's latest localpkg patch intact, and modified part of his rc 
> patch to get that working. I'm not tied to either of the keywords I 
> chose, bootearly and PORTS_RCORDER, so if someone has a better idea 
> don't hesitate.
> 
> To determine what to include in bootearly I used the extremely 
> unscientific method of running rcorder the way it was pre-patch, and 
> adding the keyword to all the scripts  up to and including 
> mountcritremote. This works in the sense that it boots my system exactly 
> the way that it did before, but some more careful thought could probably 
> be applied here by someone who knows the ins and outs of diskless 
> booting (Brooks?).
> 
> I'll let this sit till Monday, since re@ has indicated that they are 
> flexible on some of these things, and I'd rather give you guys some time 
> to review it.

I should have added of course that I also tested the new functionality on 
scripts that I put in /usr/local/etc/rc.d. Sorry about that, still a little 
sleep deprived. :)

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-rc mailing list