diff --git a/packages/linux/init.d/02_cpupower b/packages/linux/init.d/02_cpupower index 746e182608..aa3dca73d3 100644 --- a/packages/linux/init.d/02_cpupower +++ b/packages/linux/init.d/02_cpupower @@ -28,16 +28,17 @@ progress "set cpu's to full power" printf "performance" > $i done 2>/dev/null -progress "set onedemand threshold" - if [ -f /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then - echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - fi - ( usleep 40000000 progress "set cpu's to 'ondemand'" for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do printf "ondemand" > $i done 2>/dev/null + + progress "set onedemand threshold" + if [ -f /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then + echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold + fi + )&