Location Of SysV Script Files All script files are located somewhere under /etc/rc.d . The /etc/rc.d/init.d directory contains scripts to start and stop system daemons. Each script recognizes at least the 'start' and 'stop' command-line arguments. The scripts to launch at each run-level are normally placed in /etc/rc.d/rcX.d (where X is the given run-level). Run levels 0-6 are normally supported. This directories contain symbolic links to the scripts located in /etc/rc.d/init.d . Link names should begin with the 'S' letter in order to be activated in the relevant run level, or the 'K' level in order to kill a service when entering this run-level. otherwise, they are just ignored. They are executed in alphabetical order, first the 'K' scripts, then the 'S' scripts.