Module Name: src
Committed By: jruoho
Date: Sun Jan 9 15:55:48 UTC 2011
Modified Files:
src/share/man/man4: acpilid.4
Log Message:
Use hw.acpi.sleep.state in the example.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/share/man/man4/acpilid.4:1.7
--- src/share/man/man4/acpilid.4:1.6 Sun Apr 25 10:35:07 2010
+++ src/share/man/man4/acpilid.4 Sun Jan 9 15:55:48 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpilid.4,v 1.6 2010/04/25 10:35:07 wiz Exp $
+.\" $NetBSD: acpilid.4,v 1.7 2011/01/09 15:55:48 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, 2010
+.Dd January 9, 2011
.Dt ACPILID 4
.Os
.Sh NAME
@@ -70,8 +70,8 @@
# Suspend.
#
- if /sbin/sysctl machdep.sleep_state \*[Gt]/dev/null 2\*[Gt]\*[Am]1; then
- /sbin/sysctl -w machdep.sleep_state=3
+ if /sbin/sysctl hw.acpi.sleep.state \*[Gt]/dev/null 2\*[Gt]\*[Am]1; then
+ /sbin/sysctl -w hw.acpi.sleep.state=3
fi
# Waking up.