Autorun in Linux

From vpsget wiki
Jump to: navigation, search

To set a script to start at boot in CentOS, add it into /etc/rc3.d/S99local.

For example:

/root/./start.sh

This script will be executed *after* all the other init scripts.