Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ brc(1M) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

init(1M)

shutdown(1M)

inittab(4)

mnttab(4)

BRC(1M)  —  HP-UX

NAME

brc, bcheckrc, rc, powerfail − system initialization shell scripts

SYNOPSIS

/etc/brc

/etc/bcheckrc

/etc/rc

/etc/powerfail

DESCRIPTION

These shell procedures are executed via entries in /etc/inittab by init(1M). Bcheckrc and brc are executed when the system is changed out of SINGLE USER mode.  Rc is executed upon entering a new, numbered, run-level.  Powerfail is executed whenever a system power failure is detected. 

The brc procedure clears the mounted file system table, /etc/mnttab (see mnttab(4)), and loads any programmable micro-processors with their appropriate scripts.

The bcheckrc procedure performs all the necessary consistency checks to prepare the system to change into multi-user mode.  It will prompt to set the system date and to check the file systems with fsck(1M).

The rc procedure starts all system daemons before the terminal lines are enabled for multi-user mode.  In addition, file systems are mounted and accounting, error logging, system activity logging and the Remote Job Entry (RJE) system are activated in this procedure. 

The powerfail procedure is invoked when the system detects a power failure condition.  Its chief duty is to reload any programmable micro-processors with their appropriate scripts, if suitable.  It also logs the fact that a power failure occurred. 

SEE ALSO

fsck(1M), init(1M), shutdown(1M), inittab(4), mnttab(4). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026