#!/sbin/openrc-run # Copyright 1999-2020 Christian Birchinger # Distributed under the terms of the GNU General Public License v2 depend() { need logger } EXE=/usr/local/sbin/dpms-cpufreq PIDFILE=/run/dpms-cpufreq.pid start() { ebegin "Starting dpms-cpufreq" start-stop-daemon --pidfile ${PIDFILE} --make-pidfile --background --start --quiet --exec ${EXE} eend $? } stop() { ebegin "Stopping dpms-cpufreq" start-stop-daemon --pidfile ${PIDFILE} --stop --quiet --exec ${EXE} eend $? }