/etc/rc.d/ is the directory that stores the rc scripts. You can check /etc/inittab to find out which scripts are called at different runlevels (google it if you don't know it). Once you've decided exactly when you want your script to be run you can add it with something like this:
This article might help you too.Code:#Check for scripts existence, then run it if [ -x /path/to/script.sh ]; then . /path/to/script.sh fi


