*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: rc | Section: 8 | Source: 4.4BSD | File: rc.8
RC(8) FreeBSD 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 hardware 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 a auto-reboot succeeds and also 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 successful 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. BSD 4 March 16, 1991 BSD 4

Navigation Options