Closes: https://github.com/gentoo/gentoo/pull/15472
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
+++ /dev/null
-# /etc/conf.d/intel-undervolt: config file for /etc/init.d/intel-undervolt
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- after thermald
-}
-
-command="/usr/bin/intel-undervolt"
-command_args="daemon"
-command_background="true"
-pidfile="/run/${RC_SVCNAME}.pid"
-required_files="/etc/intel-undervolt.conf"
-
-start_pre() {
- if service_started thermald; then
- eerror "thermald conflits with ${RC_SVCNAME}, exiting"
- fi
-
- ebegin "${RC_SVCNAME} -> apply initial voltage"
- "${command}" apply
- eend $?
-}