Quoting eric pareja ([EMAIL PROTECTED]):

> > mv S13portmap _S13portmap
> > mv S14nfslock _S14nfslock
> 
> shouldn't those be renamed to K13portmap K14nfslock?

Well, that's certainly the RH-style way -- but, really, if you've
disabled a service's startup in all applicable runlevels, why should the
system have to spend time pointlessly trying to stop it (when it never 
runs in the first place)?

> disclaimer: i don't use RH/Mandrake, but the naming convention is
> probably documented in /etc/init.d/README on most UNIX systems and on
> Debian systems, in /usr/share/doc/sysvinit/README.runlevels.gz. i
> suspect the same file is someplace on the RH/Mandrake boxes as well.

That's a very reasonable convention.  My favourite way is slightly
different:  Lowercase the leading S or K of the scripts for any service
you're trying to disable.  The /etc/rc script parses only runlevel
symlinks whose names begin with cap-S or cap-K, so ones that have been
lowercased will be bypassed.  As a bonus, all such disabled scripts will
sort to the bottom of standard[1] "ls" listings.

[1] I note to my particular annoyance that RH has, in recent versions,
deliberately screwed up the "ls" command's default sort order:  The
normal standard output of GNU "ls" is in ASCII order.  In ASCII, all
capital letters of the alphabet immediately precede the full set of
lowercase letters of the alphabet.  Red Hat somehow jiggered "ls" to 
interweave capital and lowercase letters, in the command's sort order.

I'm guessing Red Hat Software overrode this normal Unix default in the
name of "friendliness for desktop users".  That's mildly pathetic, in my
view.

Anyhow, I second the recommendation of chkconfig, despite all of that.  
It's a fairly nice invention.  Thank SGI, who wrote it.

-- 
Cheers,               "That article and its poster have been cancelled." 
Rick Moen                   -- David B. O'Donnel, sysadmin for America Online
[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to