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 <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2018-04-16 18:12:24 +02:00
parent 26d09124b9
commit eef0d706e8

View File

@@ -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)