linux: setting up ondemand up_threshold value

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-24 20:18:33 +02:00
parent 23128775ce
commit ae394df5f7

View File

@ -5,6 +5,7 @@ DefaultDependencies=false
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do printf "ondemand" > $i; done'
ExecStartPost=/bin/sh -c 'echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold'
RemainAfterExit=yes
[Install]