Xref apm 8, not 1. Whitespace fixes while I'm here.

This commit is contained in:
wiz 2001-04-03 11:24:20 +00:00
parent a0550347cb
commit 6542c07106
1 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: apmd.8,v 1.15 2000/11/05 03:05:48 lukem Exp $
.\" $NetBSD: apmd.8,v 1.16 2001/04/03 11:24:20 wiz Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -25,7 +25,7 @@
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@ -62,7 +62,7 @@
.Nm
monitors the advanced power management (APM) pseudo-device, acting on
signaled events and upon user requests as sent by the
.Xr apm 8
.Xr apm 8
utility.
For suspend and standby request events delivered by the BIOS, or via
.Xr apm 8 ,
@ -75,7 +75,7 @@ runs the appropriate configuration utility (if one exists).
For power status change events,
.Nm
fetches the current status and reports it via
.Xr syslog 3
.Xr syslog 3
with logging facility
.Dv LOG_DAEMON .
.Pp
@ -87,7 +87,7 @@ device).
Suspends are announced with two high tones.
.Pp
.Nm
periodically polls the APM driver for the current power state.
periodically polls the APM driver for the current power state.
If the battery charge level changes substantially or the external power
status changes, the new status is logged. The polling rate defaults to
once per 10 minutes, but may be specified using the
@ -112,7 +112,7 @@ A low-battery event causes a suspend request to occur.
.It Fl m Ar sockmode
Use
.Ar sockmode
instead of
instead of
.Sq 0660
for the mode of
.Pa /var/run/apmdev .
@ -131,7 +131,7 @@ The current battery statistics are reported via
and exit without monitoring the APM status.
.It Fl S Ar sockname
Specify an alternate socket name (used by
.Xr apm 1
.Xr apm 8
to communicate with
.Nm "" ) .
.It Fl t Ar rate
@ -180,10 +180,10 @@ is also run upon the startup of apmd based on the current power source.
Contain the host's customized actions.
Each file must be an executable binary or shell script suitable
for execution by the
.Xr execve 2
.Xr execve 2
function.
If you wish to have the same program or script control all transitions, it
may determine which transition is in progress by examining its
may determine which transition is in progress by examining its
.Va argv[0]
which is set to one of
.Ar suspend ,
@ -192,7 +192,7 @@ which is set to one of
.Ar line
or
.Ar battery .
See
See
.Pa /usr/share/examples/apm/script
for such an example script.
.Pp