Ubuntu 9.10: how do I troubleshoot a startup script that doesn't appear to run?

Posted by TheDeeno on Server Fault See other posts from Server Fault or by TheDeeno
Published on 2010-03-26T18:39:03Z Indexed on 2010/03/26 18:43 UTC
Read the original article Hit count: 355

I've created a bash script 'foo'. I've made that script executable with

chmod+x 

and added it the the start-up by running

sudo update-rc.d foo defaults 80

Despite that, it doesn't appear to be working at startup. Is there a way to have my script echo messages to a log? Or is there some log that would record events/errors for this?

atm, I feel like I'm flying blind and don't really know how to troubleshoot this.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ubuntu-9.10