The process of figuring out the start order is relatively simple.
1- you find the run level you want to modify
2- you go ls into the relevant directory
A run level is basically what defines which service is run/offered by your machine.
The "/etc/inittab" file is at the center of it all, and on my debian box, says:
Quote:
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
|
Which basically sums it all.
Usually, at the beginning of your file is the default runlevel, which looks like this on my debian box:
But YMMV, and runlevel 5 is usually devoted to graphical mode (with an X11 login screen).
Once you figure your usual run level out, you go look into /etc/rcX.d, where X is your usual run level, and you'll find a bunch of symbolic links SNN<name> and KNN<name>.
Basically, when you enter a runlevel, the system execute all the SNN scripts in the order given by the numbers, and that's what you wanted to know.
Now of course, they are a bunch of text/graphic utilities that are going to do al the work for you, but I just wanted to give you enough basics.
If you want tools/more explanation, google "runlevel" "system V init scripts".