sys-power/disable-c6: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-04-04 23:51:38 +02:00
parent b41d9565e7
commit f347b4e080
7 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/zenstates
command_args="--c6-disable"
pidfile=
name="disable-c6"
description="Ryzen Disable C6"

View File

@@ -0,0 +1,11 @@
--- a/disable-c6.service.template 2021-04-04 23:46:51.260313163 +0200
+++ b/disable-c6.service.template 2021-04-04 23:47:25.910835088 +0200
@@ -6,7 +6,7 @@
[Service]
Type=oneshot
-ExecStart={{PREFIX}}/bin/zenstates.py --c6-disable
+ExecStart=/usr/sbin/zenstates --c6-disable
[Install]
WantedBy=basic.target suspend.target hibernate.target