First off, create a script in /etc/init.d/ which you want to be executed at startup.
Next, use the update-rc.d command
update-rc.d [script-name]
- = separated by space, and terminated by "."
.
This blog is basically my notes published on an open forum so that other people may also benefit from them. Please use this with that perspective in mind.
NOTE: That is the procedure for 8.10. For others it may be different.sudo apt-get install ia32-libs lib32asound2 libasound2-plugins; wget -N boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb; wget -O skype-install.deb http://www.skype.com/go/getskype-linux-ubuntu-amd64; sudo dpkg -i skype-install.deb; sudo dpkg -i getlibs-all.deb; sudo getlibs -p libqtcore4 libqtgui4 bluez-alsa