Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc6(1M) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

rc0(1M)

rc2(1M)

shutdown(1M)

inittab(4)

rc6(1M)

NAME

rc6 − run commands performed to stop and reboot the operating system

SYNOPSIS

/usr/sbin/rc6

AVAILABILITY

SUNWcsr

DESCRIPTION

The shell script rc6 is run whenever a transition to run state 6 is requested either by init 6 or shutdown −i6. 

The sequence of events in rc6 is as follows:

•check to see if a new bootable operating system (/kernel/unix) needs to be built, and if so, build one by running the buildsys command

•unmount all file systems

Then init executes the initdefault entry in the /sbin/inittab file to bring the system to the operating state defined by that entry. 

Note: If an error occurs while buildsys is building a new bootable operating system, a shell is spawned that will exit only to firmware state. 

SEE ALSO

init(1M), rc0(1M), rc2(1M), shutdown(1M), inittab(4)

SunOS 5.1 Routine System Administration Guide

SunOS 5.1  —  Last change: 14 Sep 1992

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