O'Reilly logo

Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) by Darrell Ambro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Run Control (rc) Scripts

As previously stated, every run level (except 4) has an entry in the /etc/inittab file that identifies an rc program to execute. In addition, each run level has a directory associated with it.

The directory contains rc scripts that should be executed by the rc program to start or stop processes and services when that run level becomes the current one. These rc program and rc script directories use a standard naming convention based on the run level:

  • For run level 0, the rc program is /etc/rc0, and /etc/rc0.d is the rc script directory.

  • For run level 1, the rc program is /etc/rc1, and /etc/rc1.d is the rc script directory.

  • For run levels 2, 3, and s, the same naming convention applies.

  • Run levels 5 and 6 do not have separate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required