This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via a161b1f112da5659de501edcbb77096723792edd (commit)
from 11b5b85cb8c4e937137e84efceefbef3373a47f8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a161b1f112da5659de501edcbb77096723792edd
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Wed Jan 2 12:44:54 2013 +0100
acpid: test if acpi is present.
-----------------------------------------------------------------------
Summary of changes:
src/initscripts/init.d/acpid | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Difference in files:
diff --git a/src/initscripts/init.d/acpid b/src/initscripts/init.d/acpid
index 53fa7c6..bca69c2 100644
--- a/src/initscripts/init.d/acpid
+++ b/src/initscripts/init.d/acpid
@@ -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)
hooks/post-receive
--
IPFire 2.x development tree