Re: Admin tools [was: Don't implement config functionality]
Juanjo Alvarez <[email protected]>
| Newsgroups | gmane.comp.kde.debian |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jan 18, 2004 at 03:18:42PM +0300, Martin Atukunda wrote: > On Saturday 17 January 2004 20:20, Simon Edwards wrote: > > On Sat, 17 Jan 2004 03:13 am, Juanjo Alvarez wrote: > > > On Thu, Jan 15, 2004 at 08:59:25PM +0000, Simon Edwards wrote: > > > > I also have a daemon/system service util that works > > > > well on Mandrake and needs to be ported to Debian. (It looks easy > > > > enough judging from Knoppix). > > > > > > It's almost the same (SysV init), the only thing that you have to > > > consider (from the screenshots in your page) is than in Debian there is > > > not "5=graphical boot, 2=non-graphical boot" and the default runlevel > > > (graphical or not) is 2. To see if you are in Debian within your code > > > you can check for the file /etc/debian_version. > > > > serviceconfig.py uses 'chkconfig' to turn services on/off. I have a feeling > > that it is part of the Linux Standard Base spec. > <snip> > I believe Debian uses /usr/sbin/update-rc.d, and /usr/sbin/install-rc.d to > manage the init scripts. Yes for update-rc.d (I didn't knew about install-rc.d and it is not in my system) but I think it would be clearer and even easier to update the links directly on Debian (update-rc.d is a little shell script that just do that).