svn commit: r241277 - stable/9/etc/rc.d

Andriy Gapon avg at FreeBSD.org
Sat Oct 6 19:06:09 UTC 2012


Author: avg
Date: Sat Oct  6 19:06:09 2012
New Revision: 241277
URL: http://svn.freebsd.org/changeset/base/241277

Log:
  MFC r240343: rc.d/power_profile: use recently added Cmax for cx_lowest

Modified:
  stable/9/etc/rc.d/power_profile
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.d/power_profile
==============================================================================
--- stable/9/etc/rc.d/power_profile	Sat Oct  6 19:05:50 2012	(r241276)
+++ stable/9/etc/rc.d/power_profile	Sat Oct  6 19:06:09 2012	(r241277)
@@ -81,8 +81,7 @@ esac
 # Set the various sysctls based on the profile's values.
 node="hw.acpi.cpu.cx_lowest"
 highest_value="C1"
-lowest_value="`(sysctl -n dev.cpu.0.cx_supported | \
-	awk '{ print "C" split($0, a) }' -) 2> /dev/null`"
+lowest_value="Cmax"
 eval value=\$${profile}_cx_lowest
 sysctl_set
 


More information about the svn-src-stable-9 mailing list