RC(8) — UNIX Programmer’s Manual
NAME
rc − command script for auto-reboot and daemons
SYNOPSIS
/etc/rc
DESCRIPTION
Rc is the command script which controls the automatic reboot
When an automatic reboot is in progress, rc is invoked with the argument autoboot and runs a fsck 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 hardware 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.
SEE ALSO
BUGS
After making changes to the root file system, the system must be rebooted to keep the incore copy of the super-block from corrupting the newly computed super-block. This is silly. The system should be fixed so that this super-block is updated in core.
4th Berkeley Distribution — @(#)rc.81.1PreliminaryGER0