git: e7ca75cb75be - stable/13 - rc.d: liberate powerd from ACPI dependency

Andriy Gapon avg at FreeBSD.org
Wed Jun 16 10:46:43 UTC 2021


The branch stable/13 has been updated by avg:

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

commit e7ca75cb75be2aa6177face2b1220af09988f49f
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-16 10:46:21 +0000

    rc.d: liberate powerd from ACPI dependency
    
    For instance, many non-ACPI ARM systems have CPU power / frequency
    levels.
    
    (cherry picked from commit 20eb6bd8c598fdbf4e96ed4ca64a609be255ccba)
---
 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 1a61e89aa215..13ed6048efc0 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -80,6 +80,7 @@ CONFS=	DAEMON \
 	pf \
 	pflog \
 	pfsync \
+	powerd \
 	ppp \
 	pppoed \
 	pwcheck \
@@ -136,10 +137,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