Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is /etc/rc and its usage.

Status
Not open for further replies.

graf

Technical User
Aug 14, 2001
3
IN
Can anybody help me to understand the usage of /etc/rc . And how to use it . Link address will also work. What does S**** and K*** stands for.
 
Hi

A system has many run levels. The default being the initdefault defined in /etc/inittab. (usually 3)
A run level is a system state in which specific processes are allowed to run. The predefined run levels shipped with your system are 0,1,2,3,4,s and S.
The directories rc*.d are the run level directories for each of the processes that the machine is allowed to start when going to that run level.
The S*** and K*** are startup and their corresponding shutdown scripts. For example, the S*** number represents the order in which the machine will start the process when the machine boots, but the scripts should also stop in the correct order. So a startup script named S700 for example will have a corresponding shutdown script (1000-700= K300).

Clare
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top