Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Update.



details:   https://anonhg.NetBSD.org/src/rev/702c90bf586c
branches:  trunk
changeset: 754258:702c90bf586c
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Apr 25 07:12:10 2010 +0000

description:
Update.

diffstat:

 share/man/man4/acpibut.4 |  20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r af80d95be1a4 -r 702c90bf586c share/man/man4/acpibut.4
--- a/share/man/man4/acpibut.4  Sun Apr 25 07:00:50 2010 +0000
+++ b/share/man/man4/acpibut.4  Sun Apr 25 07:12:10 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpibut.4,v 1.3 2008/04/30 13:10:53 martin Exp $
+.\" $NetBSD: acpibut.4,v 1.4 2010/04/25 07:12:10 jruoho Exp $
 .\"
 .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 25, 2004
+.Dd April 25, 2010
 .Dt ACPIBUT 4
 .Os
 .Sh NAME
@@ -35,13 +35,21 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver supports ACPI fixed-feature or control method power/sleep buttons.
-Actions against these buttons can be configured using the
+driver supports two kinds of
+.Tn ACPI
+buttons:
+.Bl -column -offset indent "Button         " "/etc/powerd/scripts/power_button"
+.It Sy Button Ta Sy Script
+.It Li Power Ta Pa /etc/powerd/scripts/power_button
+.It Li Sleep Ta Pa /etc/powerd/scripts/sleep_button
+.El
+.Pp
+When a button is pressed, the
 .Xr powerd 8
-daemon.
+daemon, if running,
+will execute the corresponding script.
 .Sh SEE ALSO
 .Xr acpi 4 ,
-.\" .Xr sysmon 4 ,
 .Xr powerd 8
 .Sh HISTORY
 The



Home | Main Index | Thread Index | Old Index