mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
acpid: test if acpi is present.
This commit is contained in:
@@ -9,14 +9,10 @@
|
||||
. /etc/sysconfig/rc
|
||||
. ${rc_functions}
|
||||
|
||||
# ACPI daemon is only support on Intel architectures.
|
||||
case "$(uname -m)" in
|
||||
i?86)
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
# Test if ACPI is present
|
||||
if [ ! -d /proc/acpi ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "${1}" in
|
||||
start)
|
||||
|
||||
Reference in New Issue
Block a user