summaryrefslogtreecommitdiff
path: root/extra/acpid
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
commite7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch)
tree4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /extra/acpid
parent311d0420d77867bdb1066d38743e68e596a17ce5 (diff)
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'extra/acpid')
-rw-r--r--extra/acpid/PKGBUILD6
-rw-r--r--extra/acpid/handler.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/extra/acpid/PKGBUILD b/extra/acpid/PKGBUILD
index f6cefe7b7..9c01a5c61 100644
--- a/extra/acpid/PKGBUILD
+++ b/extra/acpid/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 124267 2011-05-18 16:31:02Z andrea $
+# $Id: PKGBUILD 125928 2011-05-31 21:48:19Z andrea $
# Maintainer:
# Contributor: xduugu
# Contributor: Manolis Tzanidakis
@@ -6,7 +6,7 @@
pkgname=acpid
pkgver=2.0.10
-pkgrel=1
+pkgrel=2
pkgdesc="A daemon for delivering ACPI power management events with netlink support"
arch=('i686' 'x86_64')
url="http://tedfelix.com/linux/acpid-netlink.html"
@@ -39,5 +39,5 @@ package() {
md5sums=('d5dd88bcfaa4a0bf51905e95115da6df'
'955490c4db5233ec44461db694b873a4'
'2d37b98d6e74bab815604b8b48c6cfd4'
- '7b2e4c299af5eb87e1a81c07b6916c97'
+ '24bd717aeb6b628a144b6956ff661ab0'
'929c6d2e91295c22ed9ec6212d7eabef')
diff --git a/extra/acpid/handler.sh b/extra/acpid/handler.sh
index 518a62dea..8256e76a6 100644
--- a/extra/acpid/handler.sh
+++ b/extra/acpid/handler.sh
@@ -14,8 +14,8 @@ case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
- PWRF) logger "PowerButton pressed: $2" ;;
- *) logger "ACPI action undefined: $2" ;;
+ PBTN|PWRF) logger "PowerButton pressed: $2" ;;
+ *) logger "ACPI action undefined: $2" ;;
esac
;;
button/sleep)