Annotation of cci/usr/src/man/man8/rc.8, revision 1.1.1.1

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

unix.superglobalmegacorp.com

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