summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authordcoppa <dcoppa@openbsd.org>2014-12-31 11:37:40 +0000
committerdcoppa <dcoppa@openbsd.org>2014-12-31 11:37:40 +0000
commit231aaf50338a2ea26febc21483e4132093bc135f (patch)
tree9e9ac89c59584786c1298f63314636c8c4567823 /usr.sbin/apmd
parentCreate CA and certificates for TLS tests consistently. Better (diff)
downloadwireguard-openbsd-231aaf50338a2ea26febc21483e4132093bc135f.tar.xz
wireguard-openbsd-231aaf50338a2ea26febc21483e4132093bc135f.zip
Mention previously missing '/etc/apm/hibernate' action
From Alessandro DE LAURENZIS <just22_dot_adl_at_gmail_dot_com> tweak and ok jmc@
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/apmd.811
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8
index bf795e0797a..2ba45c45f2f 100644
--- a/usr.sbin/apmd/apmd.8
+++ b/usr.sbin/apmd/apmd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apmd.8,v 1.45 2014/10/17 01:55:00 tedu Exp $
+.\" $OpenBSD: apmd.8,v 1.46 2014/12/31 11:37:40 dcoppa Exp $
.\"
.\" Copyright (c) 1995 John T. Kohl
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 17 2014 $
+.Dd $Mdocdate: December 31 2014 $
.Dt APMD 8
.Os
.Sh NAME
@@ -126,14 +126,15 @@ replies with the intended state to the client and then places the system
in the requested state after running the configuration script and
flushing the buffer cache.
.Pp
-Actions can be configured for the following five transitions:
+Actions can be configured for the following transitions:
suspend,
+hibernate,
standby,
resume,
powerup,
and
powerdown.
-The suspend and standby actions are run prior to
+The suspend, hibernate and standby actions are run prior to
.Nm
performing any other actions (such as disk syncs) and entering the new
state.
@@ -148,6 +149,7 @@ status changed in the mean time).
Default device used to control the APM kernel driver.
.Pp
.It /etc/apm/suspend
+.It /etc/apm/hibernate
.It /etc/apm/standby
.It /etc/apm/resume
.It /etc/apm/powerup
@@ -158,6 +160,7 @@ A single program or script can be used to control all transitions
by examining the name by which it was called,
which is one of
suspend,
+hibernate,
standby,
resume,
powerup,