rc(8)rc(8)Name
rc, rc.local - command script for auto-reboot and daemons
Syntax
/etc/rc
/etc/rc.local
Description
The command script controls the automatic reboot and is the script
holding commands which are pertinent only to a specific site.
When an automatic reboot is in progress, is invoked with the argument
and runs a with option to ``preen'' all the disks of minor inconsisten‐
cies 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 is run.
The second part of which is run after an auto-reboot succeeds and also
if is invoked when a single user shell terminates, starts all the dae‐
mons on the system, preserves editor files and clears the scratch
directory For further information, see The command is executed immedi‐
ately before any other commands after a successful Normally, the first
commands placed in the file define the machine's name, using and save
any possible core image that might have been generated as a result of a
system crash, The latter command is included in the file because the
directory in which core dumps are saved is usually site specific.
See Alsoinit(8), reboot(8), savecore(8)rc(8)