There are alternatives way, to set an script on startup.  Here are some example’s.
You will need root privileges for any the following. To get root, open a terminal and run the command.

The command prompt will change to ‘#’ indicating that the terminal session has root privileges.


#1 – Add an initscript.
Create a new script in /etc/init.d/

(Obviously it doesn’t have to be called “myscript”.) In this script, do whatever you want to do. Perhaps just run the script you mentioned.

Make it executable.

Configure the init system to run this script at startup.


#2 – Add commands to /etc/rc.local

with content like the following.

#3 – Add an Upstart job.

Create /etc/init/your-job.conf

With the content like following: