rc1(1M) rc1(1M)
NAME
rc1 - run commands performed to bring the system down for administra-
tion
SYNOPSIS
/sbin/rc1
DESCRIPTION
This file is executed at each system state change that needs to have
the system in an administrative state. It is responsible for those
actions that bring the system to an administrative state. When the
system is changing to init state 1 it requires this procedure. The
entry in /etc/inittab might read:
s1:1:wait:/sbin/rc1 >/dev/console 2>&1 </dev/console
Some of the actions performed by rc1 are carried out by files begin-
ning with K and S in /etc/rc1.d. These files are executed in ASCII
order (see FILES below for more information), terminating some system
service. The combination of commands in rc1 and files in /etc/rc1.d
determines how the system is shut down.
The recommended sequence for rc1 is:
- Stop System Services and Daemons. Various system services (such as
a Local Area Network or LP Spooler) are terminated gracefully.
When new services are added that should be terminated when the sys-
tem is brought down to administrative state, the appropriate files
are installed in /etc/rc1.d.
The command can be used only by the superuser.
FILES
The execution by /usr/bin/sh of any files in /etc/rc1.d occurs in
ASCII sort-sequence order. See rc2(1M) for more information.
SEE ALSO
rc2(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98