public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. a161b1f112da5659de501edcbb77096723792edd
@ 2013-01-02 11:45 git
  0 siblings, 0 replies; only message in thread
From: git @ 2013-01-02 11:45 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-02 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-02 11:45 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. a161b1f112da5659de501edcbb77096723792edd git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox