BRC(1M) — Silicon Graphics
NAME
brc, bcheckrc, rc, powerfail − system initialization shell scripts
SYNOPSIS
/etc/brc
/etc/bcheckrc
/etc/rc
/etc/powerfail
DESCRIPTION
Except for powerfail, these shell procedures are executed via entries in /etc/inittab (see inittab(4)) by init(1M) when the system is changed out of SINGLE USER mode. Powerfail is executed whenever a system power failure is detected.
The brc procedure performs model-specific system initialization chores. When invoked on a new system which lacks the file /etc/fstab (see fstab(4)), it builds a default filesystem table. brc may also create special device links when run for the first time on a new system.
The bcheckrc procedure performs all the necessary consistency checks to prepare the system to change into multi-user mode. It sets the system date, either by using the result of rc.getdate (see rc.fs(1M)) or prompting for it. Bcheckrc also checks the file systems with fsck(1M).
The rc procedure starts all system daemons before the terminal lines are enabled for multi-user mode. In addition, file systems are mounted and accounting, error logging, and system activity logging are activated in this procedure. After rc has completed its normal command sequence, it can optionally execute the rc.local script. The rc.local script should be used for per-site non-standard machine initialization, and is guaranteed to not be provided or modified by Silicon Graphics software distributions.
The powerfail procedure is invoked when the system detects a power failure condition. It shuts the system down using reboot(1M).
These shell procedures, in particular rc, may be used for several run-level states.
SEE ALSO
init(1M), fsck(1M), killall(1M), reboot(1M), shutdown(1M), inittab(4), mnttab(4).
Version 2.5r1 — October 29, 1986