Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rcS(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

shutdown(1M)

rcS(1M)                                                             rcS(1M)

NAME
     rcS - run commands performed to go to singleuser mode

SYNOPSIS
     /sbin/rcS

DESCRIPTION
     This file is executed via an entry in /etc/inittab and is responsible
     for those initializations that bring the system to a singleuser state,
     traditionally state S. Refer to init(1M) man page for complete
     description of singleuser state. Functions not handled by init(1M)
     when it is going to singleuser state are performed by /sbin/rcS. For
     example, a process not started by init, like cron, will keep running.
     This can be used to kill processes previously established by each
     site.

     The actions performed by rcS are found in files beginning with K in
     /etc/rcS.d. These files are executed by /usr/bin/sh in ASCII sort-
     sequence order (see FILES for more information). When functions are
     added that need to be initialized when the system goes multiuser, an
     appropriate file should be added in /etc/rcS.d.

     Other functions can be added, as required, to support the addition of
     software features.

EXAMPLES
     The following are prototypical files found in /etc/rcS.d. These files
     are prefixed by an K and a number indicating the execution order of
     the files.

      K00ANNOUNCE   K05fmtd      K20motif   K40nfs    K65snmpd   K74smtpd
      K02nerv       K11osm       K22acct    K41rwho   K69inet    K75syslog
      K03news       K15termadm   K39yp      K50rpc    K70cron

FILES
     Files in /etc/rcS.d must begin with a K followed by a number and the
     rest of the file name. When the system is coming down to run level S,
     files beginning with K, are executed with the stop option. Files
     beginning with other characters are ignored.

SEE ALSO
     shutdown(1M).













Page 1                       Reliant UNIX 5.44                Printed 11/98

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