2021-07-04 00:49:35 +02:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
|
|
|
description="amdfan controller"
|
|
|
|
pidfile="/run/${SVCNAME}.pid"
|
|
|
|
command="/usr/bin/amdfand"
|
|
|
|
command_args="service"
|
|
|
|
command_user="root"
|
2021-12-07 16:00:31 +01:00
|
|
|
command_background=true
|
2021-07-04 00:49:35 +02:00
|
|
|
|
|
|
|
depend() {
|
|
|
|
need udev
|
|
|
|
}
|
2022-03-21 14:02:41 +01:00
|
|
|
|
|
|
|
stop_pre() {
|
|
|
|
rm /var/lib/amdfand/amdfand.pid
|
|
|
|
}
|