mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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:
8
sys-power/disable-c6/files/disable-c6
Normal file
8
sys-power/disable-c6/files/disable-c6
Normal 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"
|
||||
11
sys-power/disable-c6/files/fix-path.patch
Normal file
11
sys-power/disable-c6/files/fix-path.patch
Normal 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
|
||||
Reference in New Issue
Block a user