On Fri, Apr 08, 2005 at 04:53:57PM +1000, [EMAIL PROTECTED] wrote: > 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.
Nothing about ntsysv in the package cache; but "apt-cache search sysv init conf" gives: ksysv - KDE SysV-style init configuration editor runit-run - a UNIX init scheme with service supervision sysv-rc-conf - SysV init runlevel configuration tool for the terminal sysvconfig - A text menu based utility for configuring init script links I would say all of those bar the second one would fit the bill. I'm astounded that the GNOME version (there will *surely* be one) didn't come up... > 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". No less easy-to-remember than 'mv' for the same operation. <grin> > Maybe debian has the same feature under a different > name (that wouldn't surprise me in the least). In grand Debian style, we appear to have a plethora of them. - Matt
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
