init.d

#1
Is there any logic/criteria for the naming of the scripts in this folder? Do they run in number order?
Could you create something with a name in the S100s.
Thanks.
 

af123

Administrator
Staff member
#2
They run in numerical order and must start with a capital S to be run automatically.
You could create something > 99 and it would work but it isn't common practice.
 

af123

Administrator
Staff member
#4
Read /mod/etc/init.d/rcS if you want to see the script that runs all of the other init scripts (it's fairly short).
 
Top