[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: request for a init script policy



On Mon, Jul 03, 2000 at 11:35:00AM -0400, jpb wrote:
> 
> Erik wrote:
> > On Sun, Jul 02, 2000 at 10:58:03PM -0700, tony mancill wrote:
> > > While we're discussing this, I'd like to hear comments on the idea of
> > > using an /etc/rc.config.d/$package scheme, like that in HP-UX.  This file
> > > is a shell script that gets sourced by the /etc/init.d/$package.  It
> > > normally has no real code in it, merely environment variables.  What this
> > > buys us is the ability to let the end user modify the rc.config.d file and
> > > not mess with the init.d script.
> 
> > IANADD, but if it means anything i think this is a great idea.  I have had
> > several problems with init scripts not getting changed to newer ones because
> > i have modified some variables, and just told dpkg to keep the old script.
> 
> I think this is a great idea.  I don't see any downside, and being able
> to customize machines without fiddling with the init.d scripts would be
> a big plus.
I'd also be very much in favor of a scheme like this, because it could be easily
tweaked into netenv (or its replacement) so that the init.d scripts could see
if *this configuration* needs postfix today or if we want lpd or xntpd this run.

For the "mobile-laptop" users this would make configuration much easier, 
without the hassle of modifying the init.d scripts.

//rhi
-- 
"Whatever you do will be insignificant, 
but it is very important that you do it."  == Mahatma Gandhi ==
Have a nice day ;-) Richard Higson mailto:richard.higson@gt.owl.de



Reply to: