The docs for chkconfig
are a bit loose on what the priority number actually means, and the docs for init
don't even mention priority on my machine.
Say you have the following:
/etc/rc.d/rc3.d/S01foo
/etc/rc.d/rc3.d/S02bar
Which one is run first? The one with the higher priority (bar)? Or is the priority number more of a start-order number, so the lower numbers are started before the higher numbers?
What if it was K01foo
and K02bar
. Which one would be stopped first? Greater priority one, or is it more of a "stop-order"?