Re: chkconfig for Debian
In article <[🔎] 20011210111902.A829@kate.uio.no>,
Petter Reinholdtsen <email@example.com> wrote:
>> What in chkconfig is better than update-rc.d that justify we switch
>> to it?
>--list and --add
Good point, but I think we should concentrate on extending update-rc.d
to do this. Update-rc.d is the canonical interface to the startup
system in Debian; both sysvinit and file-rc come with it. You don't
have to know how the init system works, you just call update-rc.d
Assimilating chkconfig isn't a bad idea but it should just be a
frontend to update-rc.d.
>Using --list display the current status:
> atd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> console-screen.sh 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Trivial to add to update-rc.d. Also the output could be better, I don't
see a priority (S40/S50 etc) in there - we can fix that in update-rc.d,
but probably not in chkconfig if it's a standard output format.
Also what kind of a non-descriptive name is that, "chkconfig"?
Checks the config of what? :)
>And --add uses the default values associated with the init.d script to
>set up the default symlinks. Check your /etc/init.d/nfs-common for an
>example on how to specify this information.
Okay, but it should call update-rc.d to do the work.
I used to drive a Heisenberg mobile but every time I looked at the
speedometer - I got lost!