| --- scripts/scripts.d/cpufreq.bak 2012-09-09 12:17:29.842743727 -0400 |
| +++ scripts/scripts.d/cpufreq 2012-09-09 12:18:08.709696894 -0400 |
| @@ -18,7 +18,7 @@ |
| case "$1" in |
| powersave|custom) |
| case "$KVER" in |
| - 2.6.*) |
| + "2.6."*|"3."*) |
| if [ -d /sys ]; then |
| echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
| cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
| @@ -41,7 +41,7 @@ |
| ;; |
| performance) |
| case "$KVER" in |
| - 2.6.*) |
| + "2.6."*|"3."*) |
| if [ -d /sys ]; then |
| echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
| cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |