Manual pages › System administration commands (1M)
rc6(1M)
run commands performed to stop and reboot the operating system
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
rc6 - run commands performed to stop and reboot the operating system
SYNOPSIS
/usr/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:
• 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 /sbin/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