up | Inhaltsverzeichniss | Kommentar

Manual page for RC(8)

rc, rc.boot, rc.local, rc.net - command script for auto-reboot and daemons

SYNOPSIS

/etc/rc
/etc/rc.boot
/etc/rc.local
/etc/rc.net

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. rc.net is the command script that configures all known network interfaces according to the rules contained in /etc/iftab. rc.boot is a command script that contains commands that need to be run early on (e.g. before single-user mode is entered).

The processing of rc script can be suppressed by specifying the -s option on the boot command line.

The processing of the rc.boot script can be suppressed by specifying the -b option on the boot command line.

When an automatic reboot is in progress, rc and rc.boot are invoked with the argument autoboot and run a fsck 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 after most of the daemons are started. Normally, the first commands placed in the rc.local file define the machine's name, using hostname.1 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

iftab(5), init(8), reboot(8)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97