Run commands on boot for Fedora Core

To easily run commands on boot, without going through the Sys V init scripts, add them to the following file:

/etc/rc.d/rc.local

Commands in this file will execute after all the other init scripts.

On the other hand, here is how to start services on boot using Sys V init scripts. If we want to start the apache web server for run-levels 3 and 5:

/sbin/chkconfig --level 35 httpd on

Tagged as: howto, linux, fedora
Fork me on GitHub