Annotation of 43BSDReno/share/man/man8/rc.8, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1980 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)rc.8        6.1 (Berkeley) 4/27/85
                      6: .\"
                      7: .TH RC 8 "April 27, 1985"
                      8: .UC 4
                      9: .SH NAME
                     10: rc \- command script for auto-reboot and daemons
                     11: .SH SYNOPSIS
                     12: .B /etc/rc
                     13: .br
                     14: .B /etc/rc.local
                     15: .SH DESCRIPTION
                     16: .I Rc
                     17: is the command script which controls the automatic reboot and
                     18: .I rc.local
                     19: is the script holding commands which are pertinent only
                     20: to a specific site.
                     21: .PP
                     22: When an automatic reboot is in progress,
                     23: .I rc
                     24: is invoked with the argument
                     25: .I autoboot
                     26: and runs a
                     27: .I fsck
                     28: with option
                     29: .B \-p
                     30: to ``preen'' all the disks of minor inconsistencies resulting
                     31: from the last system shutdown and to check for serious inconsistencies
                     32: caused by hardware or software failure.
                     33: If this auto-check and repair succeeds, then the second part of
                     34: .I rc
                     35: is run.
                     36: .PP
                     37: The second part of
                     38: .I rc,
                     39: which is run after a auto-reboot succeeds and also if
                     40: .I rc
                     41: is invoked when a single user shell terminates (see
                     42: .IR init (8)),
                     43: starts all the daemons on the system, preserves editor files
                     44: and clears the scratch directory
                     45: .B /tmp.
                     46: .I Rc.local
                     47: is executed immediately before any other commands after a successful
                     48: .IR fsck .
                     49: Normally, the first commands placed in the
                     50: .I rc.local
                     51: file define the machine's name, using
                     52: .IR hostname (1),
                     53: and save any possible core image that might have been
                     54: generated as a result of a system crash,
                     55: .IR savecore (8).
                     56: The latter command is included in the
                     57: .I rc.local
                     58: file because the directory in which core dumps are saved
                     59: is usually site specific.
                     60: .SH SEE ALSO
                     61: init(8),
                     62: reboot(8),
                     63: savecore(8)
                     64: .SH BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.