mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user