-1

I am trying to start a script at boot and i can't seem to get it to work. I made the file, put it in /etc/init.d, made it executable by chmod +x file.sh, and did update-rc.d file.sh defaults 100. Is there anything else I need to do?

Thanks in advance for your help.

1 Answers1

0

You may have to create a symlink to /etc/rc.d/ :

ln -s /etc/init/file.sh /etc/rc.d/

Or you can add a line in rc.local