Place the startup script in /etc/init.d/ then use update-rc.d to make it start on bootup with the following;
update-rc.d myscript defaults
The option “defaults” puts a symlink to start myscript on run levels 2, 3, 4 and 5 and a symlink in 0, 1 and 6 to stop myscript on shutdown/reboot.