On Fri, Mar 15, 2002 at 09:17:55PM +0000, Niall O Broin wrote:
> On Fri, Mar 15, 2002 at 05:17:12PM -0000, Kenn Humborg wrote:
>> > In RedHat-speak (and LSB-speak, AFAIK), you want to do:
> >
> > # chkconfig swat on
>> It seems tha chkconfig is NOT an LSBism. Contents of /sbin/chkconfig on this
> SuSE7.3 box
>> #!/bin/sh
> # /sbin/chkconfig is for RedHat based systems only. The method is
> # not compatible with SuSE Linux, since we use LSB conform init
> # scripts. There is no way to convert chkconfig based init scripts
> # to LSB conform one. You have to do it yourself (look at
> # /etc/init.d/skeleton for a good documented example).
> #
> # This file here is only to make RPM happy and to give user the
> # chance to install RPMs which requieres /sbin/chkconfig.
> exit 0
>
Dammit - now my short term memory is going bad...
I stand corrected. chkconfig is partly superseded by
/usr/lib/lsb/{install,remove}_initd in the LSB
(http://www.linuxbase.org/spec/refspecs/LSB_1.1.0/gLSB/initsrcinstrm.html)
which covers chkconfig --add and --del.
Switching services on and off is left to distribution-specific
tools.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!