xref: /openbsd-src/share/man/man8/rc.shutdown.8 (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1.\"	$OpenBSD: rc.shutdown.8,v 1.2 1999/09/03 22:14:08 deraadt Exp $
2.Dd July 20, 1999
3.Dt RC.SHUTDOWN 8
4.Os
5.Sh NAME
6.Nm /etc/rc.shutdown
7.Nd command script run at system shutdown
8.Sh DESCRIPTION
9When the system is administratively shut down using either the
10.Xr reboot 8
11or
12.Xr halt 8
13command, either of these programs checks for the existence of a
14.Pa /etc/rc.shutdown
15script to run before halting the system. It will also be executed by
16.Xr init 8
17if a keyboard-requested halt is issued (for architectures that support this).
18.Pp
19The
20.Nm
21script, like
22.Xr rc.local 8 ,
23is entirely for commands added by the system administrator.
24.Sh SEE ALSO
25.Xr halt 8 ,
26.Xr init 8 ,
27.Xr rc 8 ,
28.Xr reboot 8
29