Startup Order for Sun Solaris w/ Respect to Script Execution
Posted on 2012-09-18
SunOS bartx041 5.10 Generic_147440-12 sun4u sparc SUNW,Sun-Fire-V490
What I need to know is the order solaris executes the various scripts that start things like oracle databases, etc., and the order in which scripts are executed on system shutdown and where they're located.
I see in /etc there is an init.d, but there are also rc<n>.d directories, where <n> is 0-6 and "S":
rc0 -> ../sbin/rc0*
rc1 -> ../sbin/rc1*
rc2 -> ../sbin/rc2*
rc3 -> ../sbin/rc3*
rc5 -> ../sbin/rc5*
rc6 -> ../sbin/rc6*
rcS -> ../sbin/rcS*
there are some "S" and "K" prefixed files in the rc<n>.d - one of the files looks to be the oracle database startup/shutdown - I guess what would help at this point is to understand the order that solaris executes the scripts in each of the init.d, rc<n>.d, etc.
Any help is as always appreciated.