How to run a script on CentOS Linux startup
Scripts which run on startup are not said to be a script — if you want the script to be executed at startup, change the following in /etc/crontab
:
@reboot /path/to/script
I often just use
/etc/rc.local
So, like...
echo "/etc/init.d/abc.sh" >> /etc/rc.local
should hack it for ya. There are probably more proper places, but whatever, it works, on most distros it seems.