summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-22 04:51:14 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-03-22 04:51:14 +0000
commitd93057278dedc689aefd0a88d48d49744ff95d9f (patch)
tree4b8c91135b0e233dc89143c4865fde546a044089 /usr.sbin
parent4c44b1a2977f96249027a32586061c6d1272961a (diff)
Document.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/apmd/apmd.816
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8
index cd09479cb44..49ea563534b 100644
--- a/usr.sbin/apmd/apmd.8
+++ b/usr.sbin/apmd/apmd.8
@@ -24,7 +24,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: apmd.8,v 1.12 2001/03/22 01:14:06 angelos Exp $
+.\" $Id: apmd.8,v 1.13 2001/03/22 04:51:13 angelos Exp $
.\"
.Dd March 24, 1996
.Dt APMD 8
@@ -166,12 +166,14 @@ mode.
The resume program is run after resuming from a stand-by or
suspended state.
The powerup and powerdown programs are run after the power status (AC
-connected or not) changes.
+connected or not) changes, as well as after a resume.
.Sh FILES
.Pa /etc/apm/suspend ,
-.Pa /etc/apm/standby
+.Pa /etc/apm/standby ,
+.Pa /etc/apm/resume ,
+.Pa /etc/apm/powerup
and
-.Pa /etc/apm/resume
+.Pa /etc/apm/powerdown
are the files that contain the host's customized actions.
Each file must be an executable binary or shell script suitable
for execution by the
@@ -183,8 +185,10 @@ may determine which transition is in progress by examining its
which is set to one of
.Ar suspend ,
.Ar standby ,
-or
-.Ar resume .
+.Ar resume ,
+.Ar powerup
+and
+.Ar powerdown .
.Pp
.Pa /var/run/apmdev
is the default UNIX-domain socket used for communication with