About rc.local not executed at startup...

Maybe your rc.local script is executed but terminates unexpectedly due to the 
-e option in the shabang declaration 
(e.g #!/bin/sh -e)

With this option, any command in the script returning an error (exit
code other than 0) will stop execution of the rc.local script.

Those post might be of some help... or not...

http://ubuntuforums.org/showpost.php?p=9430202&postcount=33
http://forum.ubuntu-fr.org/viewtopic.php?pid=3535050#p3535050

Also adding a : 
/bin/sleep 10
at the begin of the script might help ensuring that other part of the system 
are fully initialised before running rc.local commands...

Cheers!

-- 
Scripts in /etc/rc2.d/ are not executed
https://bugs.launchpad.net/bugs/453473
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to