Sun Microsystems Sun Workstation 100U System Manager's Manual page 225

Table of Contents

Advertisement

RC(8)
MAINTENANCE CO:MMANDS
RC(8)
NAME
rc - command script for auto-reboot and daemons
SYNOPSIS
/ete/re
/ etc/ rc.local
DESCRIPTION
R c
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 and runs a
Jsck with option
-p
to "preen" all the disks or minor inconsistencies resulting rrom the last sys-
tem shutdown and to check for serious inconsistencies caused by hardware or sortware failure. If
this auto-check and repair succeeds, then the second part of re is run.
The second part or re, which
is
run after a auto-reboot succeeds and also if re 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.
Re.local is executed immediately berore any other
commands after a successful fsck. Normally, the first commands placed in the rc.local file define
the machine's name, using hostname(l), and save any possible core image that might have been
generated as a result of a system crash, savecore(8). The latter command is included in the
rc.local file because the directory in which core dumps are saved
is
usually site specific.
SEE ALSO
init(8), reboot(8), savecore(8)
70
Last change: 16 February 1984
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents