diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/power_profile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.d/power_profile b/etc/rc.d/power_profile index 581e861..7484ca0 100755 --- a/etc/rc.d/power_profile +++ b/etc/rc.d/power_profile @@ -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 |