Date: Sat, 6 Oct 2012 19:06:23 +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-8@freebsd.org Subject: svn commit: r241278 - stable/8/etc/rc.d Message-ID: <201210061906.q96J6NR7021988@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Sat Oct 6 19:06:23 2012 New Revision: 241278 URL: http://svn.freebsd.org/changeset/base/241278 Log: MFC r240343: rc.d/power_profile: use recently added Cmax for cx_lowest Modified: stable/8/etc/rc.d/power_profile Directory Properties: stable/8/etc/ (props changed) Modified: stable/8/etc/rc.d/power_profile ============================================================================== --- stable/8/etc/rc.d/power_profile Sat Oct 6 19:06:09 2012 (r241277) +++ stable/8/etc/rc.d/power_profile Sat Oct 6 19:06:23 2012 (r241278) @@ -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.q96J6NR7021988>