From: martin.ivanov@00871726047f3ec0dd99953512ceaa017532c75a Date: Sat, 11 Apr 2020 07:57:29 +0000 (+0000) Subject: `poweroff` also powers down a DragonFly machine X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/4dbedb1fa1d84518581948dadddbcb6e6a51f8d9?ds=sidebyside `poweroff` also powers down a DragonFly machine --- diff --git a/docs/handbook/Booting/index.mdwn b/docs/handbook/Booting/index.mdwn index 0e391836..883c81df 100644 --- a/docs/handbook/Booting/index.mdwn +++ b/docs/handbook/Booting/index.mdwn @@ -265,7 +265,7 @@ The [rc(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=rc§ion=8) manua Upon controlled shutdown, via [shutdown(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=shutdown§ion=8), [init(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=init§ion=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 timely. -To power down a DragonFly machine on architectures and systems that support power management, simply use the command `shutdown -p now` to turn the power off immediately. To just reboot a DragonFly system, just use `shutdown -r now`. You need to be `root` or a member of `operator` group to run [shutdown(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=shutdown§ion=8). The [halt(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=halt§ion=8) and [reboot(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=reboot§ion=8) commands can also be used, please refer to their manual pages and to [shutdown(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=shutdown§ion=8)'s one for more information. +To power down a DragonFly machine on architectures and systems that support power management, simply use the command `poweroff` or `shutdown -p now` to turn the power off immediately. To just reboot a DragonFly system, just use `shutdown -r now`. You need to be `root` or a member of `operator` group to run [shutdown(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=shutdown§ion=8). The [halt(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=halt§ion=8) and [reboot(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=reboot§ion=8) commands can also be used, please refer to their manual pages and to [shutdown(8)](http://leaf.dragonflybsd.org/cgi/web-man?command=shutdown§ion=8)'s one for more information. **Note:** Power management requires [acpi(4)](http://leaf.dragonflybsd.org/cgi/web-man?command=acpi§ion=4) support in the kernel or loaded as a module, or [apm(4)](http://leaf.dragonflybsd.org/cgi/web-man?command=apm§ion=4) support.