Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
Others
RC(8) OpenBSD System Manager's Manual RC(8)
NAME
rc - command script for auto-reboot and daemons
SYNOPSIS
rc
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. The first portion of rc runs an fsck(8) 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 hard-
ware 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 an auto-reboot succeeds and al-
so 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.
Rc.local is executed immediately before any other commands after a suc-
cessful fsck. Normally, the first commands placed in the rc.local file
define the machine's name, using hostname(1), and save any possible core
image that might have been generated as a result of a system crash, with
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.
Following tradition, the startup files rc and rc.local reside in /etc.
SEE ALSO
init(8), reboot(8), savecore(8)
HISTORY
The rc command appeared in 4.0BSD.
4th Berkeley Distribution December 11, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for rc(8)
Up to: System Administration - Configuration, installing software, adding users, setting limits, system startup (boot) et al.
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
rc.8/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|