RC(8) COMMAND REFERENCE RC(8)
NAME
rc - command script for auto-reboot and daemons
SYNOPSIS
/etc/rc
/etc/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. If the file /fastboot exists, it
indicates that the disk check (see fsck(8)) run at the last
system shutdown (see shutdown(8)) was successful and fsck
need not be run again. If /fastboot does not exist, rc runs
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 disk check and repair succeeds,
then the second part of rc is run.
This second part of rc, which is run after an auto-reboot
succeeds and also if rc is invoked when a single user shell
terminates (see init(8)), starts the standard daemons on the
system and performs other housekeeping tasks such as
preserving editor files, clearing the scratch directory
/tmp, and saving a core image of the kernel if one was made
(see savecore(8)). Rc.local and any other rc files that may
exist, such as rc.net for starting network daemons and
rc.mdqs for starting spooling daemons, are then executed.
FILES
/fastboot indicates whether fsck should be
run
SEE ALSO
init(8), reboot(8), savecore(8), shutdown(8).
Printed 10/17/86 1
%%index%%
na:72,83;
sy:155,210;
de:365,1855;
fi:2220,174;
se:2394,175;
%%index%%000000000094