Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc(8) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(8)

reboot(8)

savecore(8)

RC(8)                     BSD System Manager's Manual                    RC(8)

NAME
     rc - command script for auto-reboot and daemons

SYNOPSIS
     rc
     netstart
     rc.local

DESCRIPTION
     Rc is the command script which controls the automatic reboot and rc.local
     is the script holding commands which are pertinent only to a specific
     site.

     When an automatic reboot is in progress, rc is invoked with the argument
     autoboot. The first portion of rc runs an fsck(8) with option -p to
     ``preen'' all the disks of minor inconsistencies resulting from the last
     system shutdown and to check for serious inconsistencies caused by hard-
     ware or software failure.  If this auto-check and repair succeeds, then
     the second part of rc is run.

     The second part of rc, which is run after a auto-reboot succeeds and also
     if rc is invoked when a single user shell terminates (see init(8)),
     starts all the daemons on the system, preserves editor files and clears
     the scratch directory /tmp.

     netstart is executed immediately before any other commands after a suc-
     cessful fsck. netstart sets the hostname, configures the network, and
     sets variables which determine what daemons are run and with what argu-
     ments.

     rc.local is executed after the standard daemons have been started.

     rc.local and netstart are typically the site specific startup files.  If
     possible, rc should be left generic so that future OS upgrades can re-
     place it without over-writing local data.

     Following tradition, the startup files rc, netstart and rc.local reside
     in /etc.

SEE ALSO
     init(8),  reboot(8),  savecore(8)

HISTORY
     The rc command appeared in 4.0BSD.

4th Berkeley Distribution       March 27, 1993                               1


















Typewritten Software • bear@typewritten.org • Edmonds, WA 98026