|
From: <abe...@us...> - 2017-05-23 21:35:43
|
Revision: 8328
http://sourceforge.net/p/astlinux/code/8328
Author: abelbeck
Date: 2017-05-23 21:35:41 +0000 (Tue, 23 May 2017)
Log Message:
-----------
Be more specific when detecting if a ACPI registered button exists, /dev/input/event0 was too general
Modified Paths:
--------------
branches/1.0/package/acpid/acpid.init
Modified: branches/1.0/package/acpid/acpid.init
===================================================================
--- branches/1.0/package/acpid/acpid.init 2017-05-23 18:00:40 UTC (rev 8327)
+++ branches/1.0/package/acpid/acpid.init 2017-05-23 21:35:41 UTC (rev 8328)
@@ -10,7 +10,8 @@
start () {
- if [ -x /usr/sbin/acpid -a -e /dev/input/event0 ]; then
+ ## Only checking for (power) button
+ if [ -x /usr/sbin/acpid -a -e /sys/bus/acpi/drivers/button ]; then
echo "Starting acpid..."
/usr/sbin/acpid -p $PIDFILE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|