Startup/shutdown scripts in AIX

hi,

If we place Sxx (startup script) and Kxx(shutdown script) in /etc/rc.d/rc2.d,then it would start and stop automatically(assume they are linked to other script that actually starts/stops).

is there really a link needed here to /etc/rc.d/init.d? if not,what is the use of this directory..?

pl clarify

shan

Convent�on is that a single rc script takes the parameter "start" or "stop". In most circumstances the sequence of the stop scripts needs to be the converse of the start sequence meaning that they have converse numerical sequence in the filename of the K and S scripts. The pair (or more) of links to /etc/rc.d/init.d is necessary for convention and understanding by experienced administrators. It is not mandatory or necessary for the operation of the computer but is a valid convention which should be followed.