summaryrefslogtreecommitdiff
path: root/share/man/man8/rc.shutdown.8
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2011-01-16 14:20:55 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2011-01-16 14:20:55 +0000
commit7ee71907814298fe7dbb384877839398d7d4e7e5 (patch)
treedea19dbc4a881acd0bcbfb43c6d7e8864bbbf305 /share/man/man8/rc.shutdown.8
parent8f8dd3dc735afc0bc0251a94d07268fd922ef4fc (diff)
hook rc.subr.8 to the build and create a link to rc.d.8 and
document the missing pieces in rc(8) and rc.shutdown(8)
Diffstat (limited to 'share/man/man8/rc.shutdown.8')
-rw-r--r--share/man/man8/rc.shutdown.811
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man8/rc.shutdown.8 b/share/man/man8/rc.shutdown.8
index 119d29286e1..0e2378a49ed 100644
--- a/share/man/man8/rc.shutdown.8
+++ b/share/man/man8/rc.shutdown.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.shutdown.8,v 1.8 2007/05/31 19:19:59 jmc Exp $
+.\" $OpenBSD: rc.shutdown.8,v 1.9 2011/01/16 14:20:54 robert Exp $
.\"
.\" Copyright (c) 1999 Aaron Campbell
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 16 2011 $
.Dt RC.SHUTDOWN 8
.Os
.Sh NAME
@@ -44,7 +44,11 @@ which checks for the existence of a
script to run before halting the system.
This script, like
.Xr rc.local 8 ,
-is entirely for commands added by the system administrator.
+executes the
+.Xr rc.d 8
+scripts specified by the rc_scripts variable in a reversed order.
+.Pa /etc/rc.shutdown
+is also for commands added by the system administrator.
.Pp
The
.Nm
@@ -64,4 +68,5 @@ will attempt to power down the machine after it has halted.
.Xr halt 8 ,
.Xr init 8 ,
.Xr rc 8 ,
+.Xr rc.d 8 ,
.Xr reboot 8