git: 20eb6bd8c598 - main - rc.d: liberate powerd from ACPI dependency

Andriy Gapon avg at FreeBSD.org
Wed Jun 9 09:41:34 UTC 2021


The branch main has been updated by avg:

URL: https://cgit.FreeBSD.org/src/commit/?id=20eb6bd8c598fdbf4e96ed4ca64a609be255ccba

commit 20eb6bd8c598fdbf4e96ed4ca64a609be255ccba
Author:     Andriy Gapon <avg at FreeBSD.org>
AuthorDate: 2021-06-08 17:08:10 +0000
Commit:     Andriy Gapon <avg at FreeBSD.org>
CommitDate: 2021-06-09 09:40:53 +0000

    rc.d: liberate powerd from ACPI dependency
    
    For instance, many non-ACPI ARM systems have CPU power / frequency
    levels.
    
    Discussed with: manu
    MFC after:      1 week
---
 libexec/rc/rc.d/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index 0834d8c4c2a0..24a4e7edb9d9 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -78,6 +78,7 @@ CONFS=	DAEMON \
 	pf \
 	pflog \
 	pfsync \
+	powerd \
 	ppp \
 	pppoed \
 	pwcheck \
@@ -135,10 +136,6 @@ ACPI=		power_profile
 ACPIPACKAGE=	acpi
 .endif
 
-.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
-CONFS+=		powerd
-.endif
-
 .if ${MK_APM} != "no"
 CONFGROUPS+=	APM
 APM+=		apm


More information about the dev-commits-src-all mailing list