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

Re: enable/disable flags in /etc/default



On Tue, Mar 01, 2011 at 05:19:37PM +0100, Olaf van der Spek wrote:
> On Tue, Mar 1, 2011 at 5:13 PM, Steve Langasek <vorlon@debian.org> wrote:
> > On Tue, Mar 01, 2011 at 04:26:23PM +0100, Olaf van der Spek wrote:
> >> On Tue, Mar 1, 2011 at 4:16 PM, Steve Langasek <vorlon@debian.org> wrote:
> >> >> Isn't update-rc.d the way to configure the rc.d scripts?
> >
> >> > No, it's a way for *maintainer scripts* to manage init scripts.
> >
> >> >> Or am I old-fashioned.
> >
> >> > You are using an interface that was never meant for administrator use.
> >> > Nowadays there's an 'update-rc.d enable/disable', but even that, I think,
> >> > was intended to be a backend for the 'service' command.
> >
> >> So what *is* the proper UI?
> >
> > The sensible abstraction for this is 'service' - but it doesn't appear that
> > service has support for enable/disable yet :(
> 
> Do other distro's use service for this?
> What's the reason update-rc.d is limited to maintainer scripts?
 
No, they use chkconfig.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus


Reply to: