From: Arne Fitzenreiter Date: Mon, 16 Apr 2018 16:12:24 +0000 (+0200) Subject: acpid: start also if kernel has no acpi support. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eef0d706e8fc5bc7d808d2bb45c3b33b91b4cd42;p=people%2Fms%2Fipfire-2.x.git 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 --- 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)