Module Name: src Committed By: wiz Date: Sun Apr 25 10:35:07 UTC 2010
Modified Files: src/share/man/man4: acpilid.4 Log Message: Sort sections, make HTML-ready. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/acpilid.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/acpilid.4 diff -u src/share/man/man4/acpilid.4:1.5 src/share/man/man4/acpilid.4:1.6 --- src/share/man/man4/acpilid.4:1.5 Sun Apr 25 07:00:50 2010 +++ src/share/man/man4/acpilid.4 Sun Apr 25 10:35:07 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: acpilid.4,v 1.5 2010/04/25 07:00:50 jruoho Exp $ +.\" $NetBSD: acpilid.4,v 1.6 2010/04/25 10:35:07 wiz Exp $ .\" .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -42,7 +42,7 @@ .Xr powerd 8 daemon can be used to control actions against the events of opening or closing the lid. -The used script is +The script used is .Pa /etc/powerd/scripts/lid_switch , and the events are either .Em pressed @@ -50,10 +50,6 @@ or .Em released (the lid was opened). -.Sh SEE ALSO -.Xr acpi 4 , -.Xr powerd 8 , -.Xr sysmon_pswitch 9 .Sh EXAMPLES The following example modifies the mentioned script in order to put the system into @@ -74,7 +70,7 @@ # Suspend. # - if /sbin/sysctl machdep.sleep_state >/dev/null 2>&1; then + if /sbin/sysctl machdep.sleep_state \*[Gt]/dev/null 2\*[Gt]\*[Am]1; then /sbin/sysctl -w machdep.sleep_state=3 fi @@ -86,6 +82,10 @@ \&... .Ed +.Sh SEE ALSO +.Xr acpi 4 , +.Xr powerd 8 , +.Xr sysmon_pswitch 9 .Sh HISTORY The .Nm