diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-09-07 21:25:54 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-09-07 21:28:01 -0400 |
commit | 16ea9eebec61442474c6feb6b9a279633d8fb7cf (patch) | |
tree | 5e930eb15d2668b49a825a0a8494bf909c694f7b /sys-power/cpupower/files | |
parent | net-misc/openssh: Update patch to avoid hangs at exit (diff) | |
download | gentoo-16ea9eebec61442474c6feb6b9a279633d8fb7cf.tar.gz gentoo-16ea9eebec61442474c6feb6b9a279633d8fb7cf.tar.bz2 gentoo-16ea9eebec61442474c6feb6b9a279633d8fb7cf.zip |
sys-power/cpupower: add cpupower-frequency-set.service
Bug: https://bugs.gentoo.org/531360
Diffstat (limited to 'sys-power/cpupower/files')
-rw-r--r-- | sys-power/cpupower/files/cpupower-frequency-set.service | 9 | ||||
-rw-r--r-- | sys-power/cpupower/files/cpupower-frequency-set.service.conf | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys-power/cpupower/files/cpupower-frequency-set.service b/sys-power/cpupower/files/cpupower-frequency-set.service new file mode 100644 index 000000000000..2d9ef35655af --- /dev/null +++ b/sys-power/cpupower/files/cpupower-frequency-set.service @@ -0,0 +1,9 @@ +[Unit] +Description=CPU Frequency Scaling + +[Service] +Type=oneshot +ExecStart=/usr/bin/cpupower frequency-set $OPTS + +[Install] +WantedBy=multiuser.target diff --git a/sys-power/cpupower/files/cpupower-frequency-set.service.conf b/sys-power/cpupower/files/cpupower-frequency-set.service.conf new file mode 100644 index 000000000000..969c8ab2f214 --- /dev/null +++ b/sys-power/cpupower/files/cpupower-frequency-set.service.conf @@ -0,0 +1,2 @@ +[Service] +Environment="OPTS=-g ondemand" |