Add interface for auto-cpufreq.conf & snap v1.7.0

This commit is contained in:
Adnan Hodzic 2021-10-10 08:51:32 +02:00
parent 5d24f0e451
commit ec50930a6e
1 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
name: auto-cpufreq
base: core20
version: '1.6.9'
version: '1.7.0'
summary: Automatic CPU speed & power optimizer for Linux
description: |
Automatic CPU speed & power optimizer for Linux based on active
@ -35,6 +35,12 @@ parts:
cpufreqctl.sh: usr/bin/cpufreqctl.auto-cpufreq
snapdaemon.sh: usr/bin/snapdaemon
plugs:
etc-auto-cpufreq-conf:
interface: system-files
read:
- /etc/auto-cpufreq.conf
apps:
auto-cpufreq:
command: bin/auto-cpufreq
@ -44,6 +50,7 @@ apps:
- cpu-control
- system-observe
- hardware-observe
- etc-auto-cpufreq-conf
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8