There are 2 ways to do this:
- Simply put the commands you want at /etc/rc.local
- Put your script in the /etc/init.d directory. After you make the script executable, use the following command to add the symbolic links: Code:
update-rc.d your_script_name defaults
If you ever want to remove the script from the startup sequence, use this: Code:update-rc.d -f your_script_name remove
You might want to give a look at the update-rc.d man page for further options you can use with the command.