mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linux: dont let cpupower-end.service fail if setting up to ondemand fails
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f59e75113d
commit
cea53e6304
@ -4,8 +4,8 @@ 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'
|
||||
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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user