Rubin Bennett wrote:
> The 'right' way is to rename the script from S99scriptname to
> s99scriptname.  Scripts with a lowercase beginning character are
> automagically ignored by init.

Brilliant. S's to start and K's stop. Lowercase s's are ignored, but
serve as a cache of disabled S's. Give that man a prize.

> You can also 'chkconfig scriptname off' if your system uses chkconfig.
> You can tell if it uses chkconfig by running 'chkconfig scriptname
> --list'

A foreigner on Debian (and its derivatives like Ubuntu), but
sysv-rc-conf is closest, and sysv-rc-conf caches values in
/var/lib/sysv-rc-conf/services. One side effect of that is --list
doesn't work until root runs it. I think changing s-to-S or S-to-s would
be nicer. I didn't see anything sanctioning the lowercase s in the
Debian manuals, so that may be the reason.

-- 
Anthony Carrico

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to