1st. Is the script executable? Run:
2. What distro are you using? If your distro uses /etc/init.d then you must create a symlink from your default runlevel to the script, i.e. if your default runlevel is 3, then:
Code:
ln -s /etc/init.d/script.sh /etc/rc3.d/S99script
If your distro uses /etc/rc.d then add a line in /etc/rc.d/rc.local containing the name of the script