Including PREFIX/etc/rc.d/* scripts in the system's rcorder for startup in 6.0-Release

Brooks Davis brooks at one-eyed-alien.net
Thu Jun 9 23:52:33 GMT 2005


On Thu, Jun 09, 2005 at 06:05:25PM -0400, Charles Swiger wrote:
> On Jun 9, 2005, at 5:30 PM, Doug Barton wrote:
> >The first part of the approach is to hack /etc/rc.d/localpkg to use  
> >rcorder
> >to handle the keywords that are already in the scripts with *.sh  
> >filename
> >patterns. This will preserve the lexical ordering that exists now,  
> >while
> >giving port authors (and users of course) the ability to start using
> >keywords with existing scripts that fit the *.sh pattern.
> 
> After this change, will rcorder override the current lexical ordering  
> as needed?
> In other words, if the local etc/rc.d contains these startup scripts:
> 
> bar.sh    (which has "# REQUIRE: foo")
> baz.sh
> foo.sh    (which has "# PROVIDES: foo")
> 
> ...the new world order will invoke foo, then bar, then baz?

The current proposed patch for this part actually works by invoking
scripts beginning with a digit in lexical order and running the rest
through rcorder.  There are other ways we could do it.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050609/20510a77/attachment.bin


More information about the freebsd-ports mailing list