1.\" $OpenBSD: rc.shutdown.8,v 1.3 2001/10/05 14:45:54 mpech 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. 16It will also be executed by 17.Xr init 8 18if a keyboard-requested halt is issued (for architectures that support this). 19.Pp 20The 21.Nm 22script, like 23.Xr rc.local 8 , 24is entirely for commands added by the system administrator. 25.Sh SEE ALSO 26.Xr halt 8 , 27.Xr init 8 , 28.Xr rc 8 , 29.Xr reboot 8 30