Rc script

RC-Scripts are scripts that define the basic functions of each service, as well as each service's dependencies for start-up. The RC-Scripts often live in /etc/init.d/, but on some systems may live in /etc/rc.d.

Here is the general layout of an RC-Script:  