Module Name: src
Committed By: jmcneill
Date: Sun Dec 4 13:09:07 UTC 2011
Modified Files:
src/etc/etc.amd64: rc.conf.append
src/etc/etc.i386: rc.conf.append
Log Message:
default powerd=YES if acpi is present
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.amd64/rc.conf.append
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.i386/rc.conf.append
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/etc.amd64/rc.conf.append
diff -u src/etc/etc.amd64/rc.conf.append:1.1 src/etc/etc.amd64/rc.conf.append:1.2
--- src/etc/etc.amd64/rc.conf.append:1.1 Mon Aug 22 20:48:39 2011
+++ src/etc/etc.amd64/rc.conf.append Sun Dec 4 13:09:07 2011
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf.append,v 1.1 2011/08/22 20:48:39 jym Exp $
+# $NetBSD: rc.conf.append,v 1.2 2011/12/04 13:09:07 jmcneill Exp $
#
# Arch-specific rc.conf(5) configuration.
@@ -7,3 +7,9 @@
if /sbin/sysctl -q machdep.xen; then
powerd=YES
fi
+
+# powerd(8) is recommended if ACPI is enabled to handle PM events.
+#
+if /sbin/sysctl -q hw.acpi.root; then
+ powerd=YES
+fi
Index: src/etc/etc.i386/rc.conf.append
diff -u src/etc/etc.i386/rc.conf.append:1.1 src/etc/etc.i386/rc.conf.append:1.2
--- src/etc/etc.i386/rc.conf.append:1.1 Mon Aug 22 20:48:39 2011
+++ src/etc/etc.i386/rc.conf.append Sun Dec 4 13:09:07 2011
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf.append,v 1.1 2011/08/22 20:48:39 jym Exp $
+# $NetBSD: rc.conf.append,v 1.2 2011/12/04 13:09:07 jmcneill Exp $
#
# Arch-specific rc.conf(5) configuration.
@@ -7,3 +7,9 @@
if /sbin/sysctl -q machdep.xen; then
powerd=YES
fi
+
+# powerd(8) is recommended if ACPI is enabled to handle PM events.
+#
+if /sbin/sysctl -q hw.acpi.root; then
+ powerd=YES
+fi