rc.shutdown man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

RC.SHUTDOWN(8)		OpenBSD System Manager's Manual		RC.SHUTDOWN(8)

NAME
     rc.shutdown - command script run at system shutdown

DESCRIPTION
     When the system is administratively shut down using either the reboot(8)
     or halt(8) command, rc(8) is invoked with the argument ``shutdown'',
     which checks for the existence of a /etc/rc.shutdown script to run before
     halting the system.  This script, like rc.local(8), executes the rc.d(8)
     scripts specified by the rc_scripts variable defined in rc.conf(8) in a
     reverse order.  /etc/rc.shutdown is also for commands added by the system
     administrator.

     The rc.shutdown script is also executed by init(8) if a keyboard-
     requested halt is issued (for architectures that support this).

     If rc.shutdown sets the variable powerdown to ``YES'', halt(8) will
     attempt to power down the machine after it has halted.

SEE ALSO
     halt(8), init(8), rc(8), rc.conf(8), rc.d(8), reboot(8)

OpenBSD 4.9		       February 12, 2011		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net