Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shutdown(8) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(8)

rc0(8)

rc2(8)

inittab(4)



  shutdown(8)                         CLIX                         shutdown(8)



  NAME

    shutdown, reboot - Shuts down the system and changes system state

  SYNOPSIS

    /etc/shutdown [-g grace_period] [-i init_state] [-y]

    /etc/reboot

  FLAGS

    -g grace_period
           Allows the superuser to change the number of seconds after issuing
           the command before shutdown begins from the default value of 60
           seconds.

    -i init_state
           Specifies the state that the init command should be in following
           any warnings.  By default, the system state s is used (which is the
           same as states 1 and S).

           Other recommended system state definitions are as follows:

           0      Shuts the machine down so it is safe to remove power.  The
                  /etc/rc0 script can be called to remove power from the
                  machine.

           1, s, or S
                  Puts the system into single-user mode.  The /etc/rc0 can be
                  called to put the system in this mode.

                  Both s and 1 may both be used to go to the single-user
                  state.  However, s only kills processes spawned by init and
                  does not unmount file systems.  1 unmounts everything except
                  root and kills all user processes except those that relate
                  to the console.

           5      Stops the system and goes to the firmware monitor.

           6      Stops the system and reboots to the state defined by the
                  initdefault entry in the /etc/inittab file.

    -y     Pre-answers the confirmation question usually asked by shutdown so
           the command can be run without user intervention.  A default of 60
           seconds is allowed between the warning message and the final
           message.  Another 60 seconds is allowed between the final message
           and the confirmation.

  DESCRIPTION




  2/94 - Intergraph Corporation                                              1






  shutdown(8)                         CLIX                         shutdown(8)



    The shutdown command is executed by the superuser to change the state of
    the machine.  By default, it brings the system to a state where only the
    console has access to the CLIX operating system.  This state is
    traditionally called single-user.

    The shutdown command sends a warning message and a final message before it
    starts actual shutdown activities.  By default, the command asks for
    confirmation before it starts shutting down daemons and killing processes.

    The reboot command runs shutdown with the -i6 option.

  EXAMPLES

    The following two commands reboot the system:

    /etc/shutdown -i6
    /etc/reboot


  FILES

    /etc/inittab

  DIAGNOSTICS

           Only root can run shutdown or reboot
                  The shutdown command will display this message if a user
                  other than root attempts to run it.

  RELATED INFORMATION

    Commands:  init(8), rc0(8), rc2(8)

    Files:  inittab(4)




















  2                                              Intergraph Corporation - 2/94




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