[arch-commits] Commit in acpid/trunk (PKGBUILD handler.sh)

Andrea Scarpino andrea at archlinux.org
Tue May 31 21:48:19 UTC 2011


    Date: Tuesday, May 31, 2011 @ 17:48:19
  Author: andrea
Revision: 125928

upgpkg: acpid 2.0.10-2
Add PBTN power button to handler.sh (FS#24347)

Modified:
  acpid/trunk/PKGBUILD
  acpid/trunk/handler.sh

------------+
 PKGBUILD   |    4 ++--
 handler.sh |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-31 21:45:47 UTC (rev 125927)
+++ PKGBUILD	2011-05-31 21:48:19 UTC (rev 125928)
@@ -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 @@
 md5sums=('d5dd88bcfaa4a0bf51905e95115da6df'
          '955490c4db5233ec44461db694b873a4'
          '2d37b98d6e74bab815604b8b48c6cfd4'
-         '7b2e4c299af5eb87e1a81c07b6916c97'
+         '24bd717aeb6b628a144b6956ff661ab0'
          '929c6d2e91295c22ed9ec6212d7eabef')

Modified: handler.sh
===================================================================
--- handler.sh	2011-05-31 21:45:47 UTC (rev 125927)
+++ handler.sh	2011-05-31 21:48:19 UTC (rev 125928)
@@ -14,8 +14,8 @@
     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)




More information about the arch-commits mailing list