On Fri, Apr 08, 2005 at 02:24:03PM +1000, Matthew Palmer wrote:
> On Wed, Apr 06, 2005 at 02:30:21PM +1000, James wrote:
> > when I install something that I may not want to use all the time eg..
> 
> Don't do that.  Leave the symlinks in place, but rename from Snn to Knn. 
> I've also heard that if you leave at least 1 symlink in place update-rc.d
> won't recreate all of them, but I haven't tried that.  But update-rc.d
> *will* respect your changes to ordering or S/K.  If it doesn't, that's a
> bug.
> 
> Apart from being almost impossible to work out whether the symlinks have
> been removed or were never added, it is more correct to change Snn to Knn
> because that says "I do not want that service to be running in this
> runlevel".  No symlink says "Buggered if I know what I want done in this
> runlevel".

For what it's worth... the program "ntsysv" provides an interactive text
mode interface which might be a bit easier to work with than renaming links.
It's standard on RedHat... I'd be stunned if it wasn't widely available
on just about every other distribution too.

The only hard bit is remembering the name "ntsysv" which certainly doesn't
provide any mnemonic in my frame of reference for "that program that renames
the symlinks for you". Maybe debian has the same feature under a different
name (that wouldn't surprise me in the least).

        - Tel  ( http://bespoke.homelinux.net/ )
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to