The symbolic link names are related to how and when a script is started or stopped. SNNname in rcY.d means that the script linked to should be started a priority NN in runlevel Y. In this fashion you can control the dependencies of the particular script by ensuring that other scripts have run before it. <br>
<br>The symbolic links with beginning with a K are executed when leaving that runlevel. So for all run levels you have the "S" script linked you should have an opposing "K" script. <br><br>Finally you must have both the start case and the stop case in the /etc/init.d/script.sh so the RedHat init manager can call those specific functions. Also, if available chkconfig can handle the management of the symbolic links in the /etc/rcN.d directories if the header of the script is well formed. <br>
<br>Dan Kulinski<br>