Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc.init(1m) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                              rc.init(1m)



        _________________________________________________________________
        rc.init
        execute scripts that determine run level configuration
        _________________________________________________________________


        SYNTAX

        /etc/rc.init n

        where n is run level S, 0, 1, 2, 3, 4, 5, or 6.


        DESCRIPTION

        The rc.init script is normally invoked by the init(1m) program
        (it can be invoked by root).  rc.init executes all specified
        scripts in /etc/init.d.  These scripts, such as rc.errdemon,
        chk.fsck, and rc.iacs are explicitly started or stopped, thus the
        total result of all scripts being executed is the conditions of a
        given run level, for example, run level 3.

        rc.init replaces the rc command found in previous releases.


           rc.init in the run level setting sequence

        1.   In single-user mode, a superuser wanting to put the system
             in run level 3 types:  init 3.

        2.   The init program reads the /etc/inittab file looking for all
             occurrences of the argument 3 in the second field.

        3.   rc.init invokes rc.init.

        4.   rc.init uses the argument 3 as a pointer to directory
             /etc/rc3.d.  This directory contains links to files in
             /etc/init.d that specify which scripts should be started or
             stopped by rc.init for run level 3.

        5.   rc.init executes all scripts (which are in /etc/init.d) for
             the given run level.  The system is now at run level 3.
             Only files beginning with K or S are executed.  All K
             scripts are executed first, in reverse order (K2 before K1).
             Then, all S scripts are executed in normal order.

        The following lines are from /etc/inittab.  The last field
        contains the invocation of the rc.init script.  When a superuser
        chooses a run level via the init command, the inittab file is
        scanned until that run level is found.  Then, rc.init is
        executed.



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                              rc.init(1m)



        rc0:0:wait:/etc/rc.init 0
        rc1:1:wait:/etc/rc.init 1
        rc2:2:wait:/etc/rc.init 2
        rc3:3:wait:/etc/rc.init 3
        rc4:4:wait:/etc/rc.init 4
        rc5:5:wait:/etc/rc.init 5
        rc6:6:wait:/etc/rc.init 6


        FILES

        The following are all in /etc:
        inittab
        init
        init.d
        rcS.d, rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d


        SEE ALSO

        init(1m), inittab(4) and Installing and Managing the DG/UX
        System.
































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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