Date: Thu, 9 Jun 2005 16:52:32 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Charles Swiger <cswiger@mac.com> Cc: Doug Barton <dougb@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: Including PREFIX/etc/rc.d/* scripts in the system's rcorder for startup in 6.0-Release Message-ID: <20050609235232.GB26193@odin.ac.hmc.edu> In-Reply-To: <3FF4118E-AF11-4EEE-AF08-B064516FD351@mac.com> References: <42A8B4E6.9090401@FreeBSD.org> <3FF4118E-AF11-4EEE-AF08-B064516FD351@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =20 > >rcorder > >to handle the keywords that are already in the scripts with *.sh =20 > >filename > >patterns. This will preserve the lexical ordering that exists now, =20 > >while > >giving port authors (and users of course) the ability to start using > >keywords with existing scripts that fit the *.sh pattern. >=20 > After this change, will rcorder override the current lexical ordering =20 > as needed? > In other words, if the local etc/rc.d contains these startup scripts: >=20 > bar.sh (which has "# REQUIRE: foo") > baz.sh > foo.sh (which has "# PROVIDES: foo") >=20 > ...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 --=20 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 --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCqNY/XY6L6fI4GtQRAg7zAJ4rz2MLObwhs+NE/eQBePFf/TGnpQCfVT6A 0OHrTo3fQch1UZAUYa6jZsQ= =ponS -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050609235232.GB26193>