Reading update-rc.d manpage:
update-rc.d requires dependency and runlevel information to be provided in the init.d script LSB comment header of all init.d scripts.
Am i correct in interpreting below command as follows:
update-rc.d foo[name] defaults 99[NN]* 10[runlevel]
I understand above will result in:
1) /etc/rcrunlevel.d/99name link created
2) pointed at /etc/init.d/foo
I am not sure about the purpose of 10, does it really represent runlevel? In which case, does it mean foo can run administrative tasks(single user mode) and can shut down the system (halt)
*NN - is a dependency as in LSB comment header, a.k.a sequence number (1-99)