Você deve ler man update-rc.d
. Existe um sistema para os nomes, e você terá uma vida mais feliz se você aprendê-lo, ao invés de descobrir o seu próprio. Leia também man run-parts
.
De man update-rc.d
:
DESCRIPTION
update-rc.d updates the System V style init script links
/etc/rcrunlevel.d/NNname whose target is the script /etc/init.d/name.
These links are run by init when it changes runlevels; they are
generally used to start and stop system services such as daemons.
runlevel is one of the runlevels supported by init, namely,
0123456789S, and NN is the two-digit sequence number that determines
where in the sequence init will run the scripts.
This manpage documents only the usage and behaviour of update-rc.d.
For a discussion of the System V style init script arrangements please
see init(8) and the Debian Policy Manual.