MrTom's suggestion will also work. The /etc/rc.d/rc6.d directory is full of scripts that are run when rebooting, and the /etc/rc.d/rc0.d directory is for shutting down. Either copy your script in one (or both) of those directories or create a symbolic link.
ChrisP If someone resolves an issue for you, or was helpful, please click the link on the bottom left hand corner of their post to give them a "star" letting them know they helped you.