linux: 02_cpupower: cosmetics

This commit is contained in:
Stefan Saraev 2013-06-04 19:18:02 +03:00
parent 842ec47a0d
commit 807e03736b

View File

@ -26,7 +26,7 @@
progress "set cpu's to full power"
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
printf "performance" > $i
done
done 2>/dev/null
progress "set onedemand threshold"
if [ -f /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
@ -38,6 +38,6 @@ progress "set onedemand threshold"
progress "set cpu's to 'ondemand'"
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
printf "ondemand" > $i
done
done 2>/dev/null
)&