Source-Changes-HG archive

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

[src/trunk]: src/share/man/man4 Use hw.acpi.sleep.state in the example.



details:   https://anonhg.NetBSD.org/src/rev/9c2d75398a11
branches:  trunk
changeset: 760627:9c2d75398a11
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jan 09 15:55:48 2011 +0000

description:
Use hw.acpi.sleep.state in the example.

diffstat:

 share/man/man4/acpilid.4 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 398d9962e0d7 -r 9c2d75398a11 share/man/man4/acpilid.4
--- a/share/man/man4/acpilid.4  Sun Jan 09 15:46:40 2011 +0000
+++ b/share/man/man4/acpilid.4  Sun Jan 09 15:55:48 2011 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index