rc6(1M) UNIX System V(Essential Utilities) rc6(1M)
NAME
rc6 - run commands performed to stop and reboot the operating system
SYNOPSIS
/etc/rc6
DESCRIPTION
The shell script rc6 is run whenever a transition to run state 6 is
requested either through init 6 or shutdown -i6.
The sequence of events in rc6 is as follows:
⊕ check to see if a new bootable operating system (/stand/unix) needs
to be built; if so, build one by running the buildsys command
⊕ unmount all file systems
Then init executes the initdefault entry in the /etc/inittab file to
bring the system to the operating state defined by that entry.
Note that 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 buildsys(1M)].
SEE ALSO
buildsys(1M), cunix(1M), init(1M), rc0(1M), rc2(1M), shutdown(1M),
inittab(4).
System Administrator's Guide
10/89 Page 1