From eef0d706e8fc5bc7d808d2bb45c3b33b91b4cd42 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 16 Apr 2018 18:12:24 +0200 Subject: [PATCH] acpid: start also if kernel has no acpi support. acpid is also needed for gpio and hid powerbuttons if there is no real acpi support. Signed-off-by: Arne Fitzenreiter --- src/initscripts/system/acpid | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/initscripts/system/acpid b/src/initscripts/system/acpid index bca69c2b70..fba487405b 100644 --- a/src/initscripts/system/acpid +++ b/src/initscripts/system/acpid @@ -9,15 +9,11 @@ . /etc/sysconfig/rc . ${rc_functions} -# Test if ACPI is present -if [ ! -d /proc/acpi ]; then - exit 0 -fi - case "${1}" in start) boot_mesg "Starting ACPI daemon..." - loadproc /usr/sbin/acpid + loadproc /usr/sbin/acpid > /dev/null 2>&1 + echo_ok; ;; stop) -- 2.39.5