[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Links in rc2.d



> Can someone tell me what the numbers after the S and K filenames mean in
> directories such as rc2.d?  I thought it might dictate the order the
> files are executed in but I think I have seen 2 in the same directory
> with the same number, and why not just call them S1..., S2..., S3... in
> that case.

Start and Kill.  The number allows shell script wildcard to process them in
order...

S00 first S99 last etc.

The last started are generally killed first, with things like networking
which provide core functions, started earlier and killed later.

Rob



Reply to: