cvs commit: src/etc/rc.d early.sh
Jeremie Le Hen
jeremie at le-hen.org
Tue Oct 30 14:57:58 PDT 2007
Doug,
Sorry for the late reply.
On Thu, Oct 11, 2007 at 08:58:25AM -0700, Doug Barton wrote:
> No one is suggesting removing rc.local, and I would vigorously oppose doing
> so.
>
> As I said in my last message, if users respond to the deprecation warning
> with a request not to remove it, we can convert it to being a regular rc.d
> script. That way it's only a little dangerous instead of being super
> dangerous and potentially fatal.
Letting appart the fact that you consider early.sh as a hack, it may
still be quite useful as other posts in this thread have shown.
What do you think of something like this:
/etc/defaults/rc.conf:
% inline_early=NO
/etc/rc.d/early.sh
% if checkyesno inline_early; then
% . /etc/rc.early
% else
% (. /etc/rc.early)
% fi
Regards,
--
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
More information about the cvs-src
mailing list