Add ryzen-stabilizator
Warning: I did not test the systemd files
This commit is contained in:
+21
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user