Daemons

sinck@ugive.com sinck@ugive.com
Tue, 11 Jul 2000 07:08:26 -0700 (MST)


\_ ugh.. this has got to stop...
\_ 
\_ Most distro's keep startup scripts in /etc/rc.d (some are rc<runlevel>.d).
\_ Assuming that the first is true, there should be dir's under that which
\_ indicate the runlevel (see below) and contain some oddly named scripts:
\_ 
\_ scripts starting with S are startup scripts
\_ scripts starting with K are shutdown scripts
\_ 
\_ 
\_ There are numbers after the S or K to indicate the order in which they
\_ should be executed. You will mainly be interested in runlevels 2 or 3 (check
\_ man init for your systems details).  If you don't want a deamon to start,
\_ remove it from the dir.
\_ 
\_ Also, some systems have scripts that start with a P wich means that they run
\_ in parrallel (they don't wait for the previous script to finish before the
\_ next one starts).

RH handles 'P' by assigning the same start number to the commands.
You also overlooked runlevel 5, which *I* tend to think of as the most
productive.  :-)

David