/etc/rc.d/??? equivilant

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: /etc/rc.d/??? equivilant
On Mon, Aug 11, 2003 at 07:18:41PM -0500, Mike Starke wrote:
/_On Mon, Aug 11, 2003 at 04:34:30PM -0700, wrote:
/_/_so it would go something like:
/_/_ln -s /etc/init.d/rc.firewall /etc/rc2.d/Something
/_/_
/_Close.
/_
/_In the rc2.d directory you will see that everything begins with a capital
/_"S" then followed by a number then a description. The capital "S" is important along
/_with the number. The number decides in what order the script executes. Larger numbers
/_later in the boot process.
/_

Oh, and something I learned from a nice smart admin: When you want to
disable a service from starting; just go into the rc2.d directory and rename the symlink
to the exact same name except use a lower case "s" as the first letter. :-)

Keeps everything intact, yet you get the desired action/reaction.

-mike