13.7. Shutdown Sequence
Prev | Chapter 13. The FreeBSD Booting Process | Next

## 13.7. Shutdown Sequence

Upon controlled shutdown using shutdown(8), init(8) will attempt to run the script `/etc/rc.shutdown`, and then proceed to send all processes the `TERM` signal, and subsequently the `KILL` signal to any that do not terminate in a timely manner.

To power down a FreeBSD machine on architectures and systems that support power management, use `shutdown -p now` to turn the power off immediately. To reboot a FreeBSD system, use `shutdown -r now`. One must be `root` or a member of `operator` in order to run shutdown(8). One can also use halt(8) and reboot(8). Refer to their manual pages and to shutdown(8) for more information.

### Note:

Power management requires acpi(4) to be loaded as a module or staticly compiled into a custom kernel.

Prev | Up | Next
13.6. Init: Process Control Initialization | Home | Chapter 14. Users and Basic Account Management

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.