Add ryzen-stabilizator

Warning: I did not test the systemd files
This commit is contained in:
2019-12-02 12:03:35 +02:00
parent 7aba971d46
commit 3d6a1c4747
4 changed files with 93 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command="/usr/bin/ryzen-stabilizator"
depend() {
need localmount
after modules-load
}
start() {
ebegin "Initializing ryzen"
${command} --config=/etc/ryzen-stabilizator/settings.toml >/dev/null 2>&1
eend $?
}
stop() {
# Nothing to stop
return 0;
}