Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ initscr(ADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(M)

init(M)

inittab(F)

sh(C)


 initscript(ADM)                 19 June 1992                 initscript(ADM)


 Name

    initscript - script that executes inittab commands

 Syntax

    /bin/sh /etc/initscript id rstate action process

 Description

    /etc/initscript is the shell script used by init(M) to execute commands
    in /etc/inittab.

    Your system's initscript will look similiar to the following:

    :
    #       @(#) initscrp.dfl 22.2 90/02/23
    #
    #       Copyright (C) The Santa Cruz Operation, 1989, 1990.
    #       This Module contains Proprietary Information of
    #       The Santa Cruz Operation, and should be treated as Confidential.
    #
    # set up the default environment for command started by init.
    #
    # Usage: /etc/initscript id level action cmd
    #

    PATH=/bin:/usr/bin
    export PATH

    HZ=100
    export HZ

    [ -x /etc/TIMEZONE ] && . /etc/TIMEZONE

    umask 027

    eval exec "$4"

    initscript sets the PATH variable, sets the HZ variable, checks for an
    /etc/TIMEZONE file and executes it, sets the umask, and runs the fourth
    argument (process), which is the process field from /etc/inittab.

    HZ is the hertz value, as described in environ(M).

    /etc/TIMEZONE sets and exports the TZ variable, as described in
    environ(M).

 Files

    /etc/initscript
    /etc/inittab

 See also

    environ(M), init(M), inittab(F), sh(C)


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