Date: Sat, 6 Oct 2012 19:06:09 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r241277 - stable/9/etc/rc.d Message-ID: <201210061906.q96J69lv021915@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061906.q96J69lv021915>