What gets called on startup/shutdown when you run update-rc.d myscript default
?
Docs seem fuzzy, I want concrete. I am guessing that this happens:
At startup (specifically at entry to runlevel 2, multiuser), this command is executed:
/etc/init.d/myscript start
And at shutdown/reboot the same script is called as:
/etc/init.d/myscript stop
Is that all that is really happening here?