rc6(1M) — ADMINISTRATOR COMMANDS
NAME
rc6 − run commands performed to stop and reboot the operating system
SYNOPSIS
/sbin/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:
Unmount all file systems.
init executes the initdefault entry in the /etc/inittab file to bring the system to the operating state defined by that entry.
SEE ALSO
init(1M), rc0(1M), rc2(1M), shutdown(1M), inittab(4).
— Essential Utilities