Hey There,
You are absolutely correct, I think.
For S and K, the order of execution follows these rules:
1. 0 is executed first and then all numbers sequentially through 9. Note that the numeric order is kind of like what you'd get from the output of "sort", so if you had:
0 1 2 3 12
the order would be
0 1 12 2 3
The numbers are usually 2 digit, by standard, but can be any number of digits you want - they just need to be in that same sort of sequential order.
2. After the numbers it works alphabetically. Most systems differentiate between upper and lower case, so
S99Zebra
would come before
S99apache
If your distro's rc doesn't pay attention to case, the opposite would be true.
3. The alphabetical order is then judged by each succeeding place, if the previous place is a match between 2 or more file
S99apache
would come before
S99azaza
4. Then it continues on in any fashion you want (you can keep adding numbers and letters), so,
S99apache4
would come after
S99apache
but before
S99 apache5
,etc
but the standard is:
S/K DOUBLE-DIGIT-NUMBER-Name
S99apache or K99apache
Hope that helps clarify
Best wishes,
Mike
Quote:
Originally Posted by G00fy
This might be a very trivial question, but I fail to find any information about the subject (besides telling that rcorder will do it).
What is the order the startup/shutdown scripts are executed in?
Logically I would say:
Startup: S00 -> S99
Shutdown: K00 <- K99
Is this correct?
|