by slycat » Wed Oct 03, 2012 7:56 pm
$this->bbcode_second_pass_quote('Schart', 'W')ould there be any kind of advantage to put them, in /etc/rc.local instead?
I don't think so, except that the plug led goes from blinking to solid green once the boot is completed, so if you have something in rc.local, it'll happen after the regular boot sequence is done.
I added things to rc.local so that I could put a pause (sleep #) in between app starts so there's no chance of it getting overwhelmed. For example, my Transmission has 1300+ active torrents which chew up memory at start up, so rather than having so much at one time, rc.local waits a few seconds before starting another one.
Also, rc.local is what you would use to do any non-daemon at-boot commands, so things like starting something in screen or other startup scripts would run from there.