aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/disable-c6/disable-c6.service.template')
-rw-r--r--sys-power/disable-c6/disable-c6.service.template13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-power/disable-c6/disable-c6.service.template b/sys-power/disable-c6/disable-c6.service.template
new file mode 100644
index 000000000..6d5efab25
--- /dev/null
+++ b/sys-power/disable-c6/disable-c6.service.template
@@ -0,0 +1,13 @@
+[Unit]
+Description=Ryzen Disable C6
+DefaultDependencies=no
+After=sysinit.target local-fs.target suspend.target hibernate.target
+Before=basic.target
+
+[Service]
+Type=oneshot
+ExecStart={{PREFIX}}/bin/zenstates.py --c6-disable
+
+[Install]
+WantedBy=basic.target suspend.target hibernate.target
+