mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: 02_cpupower: cosmetics
This commit is contained in:
parent
14a82dffa2
commit
026073a67d
@ -26,7 +26,7 @@
|
|||||||
progress "set cpu's to full power"
|
progress "set cpu's to full power"
|
||||||
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
|
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
|
||||||
printf "performance" > $i
|
printf "performance" > $i
|
||||||
done
|
done 2>/dev/null
|
||||||
|
|
||||||
progress "set onedemand threshold"
|
progress "set onedemand threshold"
|
||||||
if [ -f /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
|
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'"
|
progress "set cpu's to 'ondemand'"
|
||||||
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
|
for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do
|
||||||
printf "ondemand" > $i
|
printf "ondemand" > $i
|
||||||
done
|
done 2>/dev/null
|
||||||
)&
|
)&
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user