[arch-commits] Commit in acpid/repos (20 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Wed May 29 19:05:51 EDT 2013


    Date: Thursday, May 30, 2013 @ 01:05:51
  Author: seblu
Revision: 91937

archrelease: copy trunk to community-i686, community-x86_64

Added:
  acpid/repos/community-i686/PKGBUILD
    (from rev 91936, acpid/trunk/PKGBUILD)
  acpid/repos/community-i686/acpid.service
    (from rev 91936, acpid/trunk/acpid.service)
  acpid/repos/community-i686/acpid.socket
    (from rev 91936, acpid/trunk/acpid.socket)
  acpid/repos/community-i686/anything
    (from rev 91936, acpid/trunk/anything)
  acpid/repos/community-i686/handler.sh
    (from rev 91936, acpid/trunk/handler.sh)
  acpid/repos/community-x86_64/PKGBUILD
    (from rev 91936, acpid/trunk/PKGBUILD)
  acpid/repos/community-x86_64/acpid.service
    (from rev 91936, acpid/trunk/acpid.service)
  acpid/repos/community-x86_64/acpid.socket
    (from rev 91936, acpid/trunk/acpid.socket)
  acpid/repos/community-x86_64/anything
    (from rev 91936, acpid/trunk/anything)
  acpid/repos/community-x86_64/handler.sh
    (from rev 91936, acpid/trunk/handler.sh)
Deleted:
  acpid/repos/community-i686/PKGBUILD
  acpid/repos/community-i686/acpid.service
  acpid/repos/community-i686/acpid.socket
  acpid/repos/community-i686/anything
  acpid/repos/community-i686/handler.sh
  acpid/repos/community-x86_64/PKGBUILD
  acpid/repos/community-x86_64/acpid.service
  acpid/repos/community-x86_64/acpid.socket
  acpid/repos/community-x86_64/anything
  acpid/repos/community-x86_64/handler.sh

--------------------------------+
 /PKGBUILD                      |  104 ++++++++++++++++++++++++++
 /acpid.service                 |   20 +++++
 /acpid.socket                  |   16 ++++
 /anything                      |    6 +
 /handler.sh                    |  154 +++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD        |   52 -------------
 community-i686/acpid.service   |   10 --
 community-i686/acpid.socket    |    8 --
 community-i686/anything        |    3 
 community-i686/handler.sh      |   77 -------------------
 community-x86_64/PKGBUILD      |   52 -------------
 community-x86_64/acpid.service |   10 --
 community-x86_64/acpid.socket  |    8 --
 community-x86_64/anything      |    3 
 community-x86_64/handler.sh    |   77 -------------------
 15 files changed, 300 insertions(+), 300 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-i686/PKGBUILD	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
-
-pkgname=acpid
-pkgver=2.0.18
-pkgrel=3
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('i686' 'x86_64')
-url='http://tedfelix.com/linux/acpid-netlink.html'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
-        'acpid.socket'
-        'acpid.service'
-        'anything'
-        'handler.sh')
-md5sums=('7c4ff315ae960c54eea303c71c49f152'
-         'd11700eb136e0489835ddaf977a7905b'
-         '79cc7a9dceacdeffd51f070c2ba5f023'
-         '2d37b98d6e74bab815604b8b48c6cfd4'
-         '47f44ff5f02685dce8bcdab8568f0c38')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  popd
-
-  # default config
-  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
-  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
-
-  # systemd
-  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
-  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
-  # fix acpid rights
-  chmod 755 "$pkgdir/usr/bin/acpid"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: acpid/repos/community-i686/PKGBUILD (from rev 91936, acpid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Manolis Tzanidakis
+# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
+
+pkgname=acpid
+pkgver=2.0.19
+pkgrel=1
+pkgdesc='A daemon for delivering ACPI power management events with netlink support'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/acpid2/'
+license=('GPL')
+depends=('bash')
+optdepends=('perl: use perl based examples')
+replaces=('acpid2')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+        'acpid.socket'
+        'acpid.service'
+        'anything'
+        'handler.sh')
+md5sums=('0b07a982e3e28cf37645f2c6269af72e'
+         'd11700eb136e0489835ddaf977a7905b'
+         '79cc7a9dceacdeffd51f070c2ba5f023'
+         '2d37b98d6e74bab815604b8b48c6cfd4'
+         '47f44ff5f02685dce8bcdab8568f0c38')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  popd
+
+  # default config
+  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
+  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
+
+  # systemd
+  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
+  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
+
+  # fix acpid rights
+  chmod 755 "$pkgdir/usr/bin/acpid"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/acpid.service
===================================================================
--- community-i686/acpid.service	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-i686/acpid.service	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,10 +0,0 @@
-[Unit]
-Description=ACPI event daemon
-Requires=acpid.socket
-
-[Service]
-ExecStart=/usr/bin/acpid -f
-
-[Install]
-WantedBy=multi-user.target
-Also=acpid.socket

Copied: acpid/repos/community-i686/acpid.service (from rev 91936, acpid/trunk/acpid.service)
===================================================================
--- community-i686/acpid.service	                        (rev 0)
+++ community-i686/acpid.service	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,10 @@
+[Unit]
+Description=ACPI event daemon
+Requires=acpid.socket
+
+[Service]
+ExecStart=/usr/bin/acpid -f
+
+[Install]
+WantedBy=multi-user.target
+Also=acpid.socket

Deleted: community-i686/acpid.socket
===================================================================
--- community-i686/acpid.socket	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-i686/acpid.socket	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,8 +0,0 @@
-[Unit]
-Description=ACPID Listen Socket
-
-[Socket]
-ListenStream=/var/run/acpid.socket
-
-[Install]
-WantedBy=sockets.target

Copied: acpid/repos/community-i686/acpid.socket (from rev 91936, acpid/trunk/acpid.socket)
===================================================================
--- community-i686/acpid.socket	                        (rev 0)
+++ community-i686/acpid.socket	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,8 @@
+[Unit]
+Description=ACPID Listen Socket
+
+[Socket]
+ListenStream=/var/run/acpid.socket
+
+[Install]
+WantedBy=sockets.target

Deleted: community-i686/anything
===================================================================
--- community-i686/anything	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-i686/anything	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,3 +0,0 @@
-# Pass all events to our one handler script
-event=.*
-action=/etc/acpi/handler.sh %e

Copied: acpid/repos/community-i686/anything (from rev 91936, acpid/trunk/anything)
===================================================================
--- community-i686/anything	                        (rev 0)
+++ community-i686/anything	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: community-i686/handler.sh
===================================================================
--- community-i686/handler.sh	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-i686/handler.sh	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,77 +0,0 @@
-#!/bin/bash
-# Default acpi script that takes an entry for all actions
-
-case "$1" in
-    button/power)
-        case "$2" in
-            PBTN|PWRF)
-                logger 'PowerButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    button/sleep)
-        case "$2" in
-            SLPB|SBTN)
-                logger 'SleepButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    ac_adapter)
-        case "$2" in
-            AC|ACAD|ADP0)
-                case "$4" in
-                    00000000)
-                        logger 'AC unpluged'
-                        ;;
-                    00000001)
-                        logger 'AC pluged'
-                        ;;
-                esac
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    battery)
-        case "$2" in
-            BAT0)
-                case "$4" in
-                    00000000)
-                        logger 'Battery online'
-                        ;;
-                    00000001)
-                        logger 'Battery offline'
-                        ;;
-                esac
-                ;;
-            CPU0)
-                ;;
-            *)  logger "ACPI action undefined: $2" ;;
-        esac
-        ;;
-    button/lid)
-        case "$3" in
-            close)
-                logger 'LID closed'
-                ;;
-            open)
-                logger 'LID opened'
-                ;;
-            *)
-                logger "ACPI action undefined: $3"
-                ;;
-    esac
-    ;;
-    *)
-        logger "ACPI group/action undefined: $1 / $2"
-        ;;
-esac
-
-# vim:set ts=4 sw=4 ft=sh et:

Copied: acpid/repos/community-i686/handler.sh (from rev 91936, acpid/trunk/handler.sh)
===================================================================
--- community-i686/handler.sh	                        (rev 0)
+++ community-i686/handler.sh	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,77 @@
+#!/bin/bash
+# Default acpi script that takes an entry for all actions
+
+case "$1" in
+    button/power)
+        case "$2" in
+            PBTN|PWRF)
+                logger 'PowerButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    button/sleep)
+        case "$2" in
+            SLPB|SBTN)
+                logger 'SleepButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    ac_adapter)
+        case "$2" in
+            AC|ACAD|ADP0)
+                case "$4" in
+                    00000000)
+                        logger 'AC unpluged'
+                        ;;
+                    00000001)
+                        logger 'AC pluged'
+                        ;;
+                esac
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    battery)
+        case "$2" in
+            BAT0)
+                case "$4" in
+                    00000000)
+                        logger 'Battery online'
+                        ;;
+                    00000001)
+                        logger 'Battery offline'
+                        ;;
+                esac
+                ;;
+            CPU0)
+                ;;
+            *)  logger "ACPI action undefined: $2" ;;
+        esac
+        ;;
+    button/lid)
+        case "$3" in
+            close)
+                logger 'LID closed'
+                ;;
+            open)
+                logger 'LID opened'
+                ;;
+            *)
+                logger "ACPI action undefined: $3"
+                ;;
+    esac
+    ;;
+    *)
+        logger "ACPI group/action undefined: $1 / $2"
+        ;;
+esac
+
+# vim:set ts=4 sw=4 ft=sh et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-x86_64/PKGBUILD	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
-
-pkgname=acpid
-pkgver=2.0.18
-pkgrel=3
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('i686' 'x86_64')
-url='http://tedfelix.com/linux/acpid-netlink.html'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
-        'acpid.socket'
-        'acpid.service'
-        'anything'
-        'handler.sh')
-md5sums=('7c4ff315ae960c54eea303c71c49f152'
-         'd11700eb136e0489835ddaf977a7905b'
-         '79cc7a9dceacdeffd51f070c2ba5f023'
-         '2d37b98d6e74bab815604b8b48c6cfd4'
-         '47f44ff5f02685dce8bcdab8568f0c38')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  popd
-
-  # default config
-  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
-  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
-
-  # systemd
-  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
-  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
-  # fix acpid rights
-  chmod 755 "$pkgdir/usr/bin/acpid"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: acpid/repos/community-x86_64/PKGBUILD (from rev 91936, acpid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Manolis Tzanidakis
+# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
+
+pkgname=acpid
+pkgver=2.0.19
+pkgrel=1
+pkgdesc='A daemon for delivering ACPI power management events with netlink support'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/acpid2/'
+license=('GPL')
+depends=('bash')
+optdepends=('perl: use perl based examples')
+replaces=('acpid2')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+        'acpid.socket'
+        'acpid.service'
+        'anything'
+        'handler.sh')
+md5sums=('0b07a982e3e28cf37645f2c6269af72e'
+         'd11700eb136e0489835ddaf977a7905b'
+         '79cc7a9dceacdeffd51f070c2ba5f023'
+         '2d37b98d6e74bab815604b8b48c6cfd4'
+         '47f44ff5f02685dce8bcdab8568f0c38')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  popd
+
+  # default config
+  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
+  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
+
+  # systemd
+  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
+  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
+
+  # fix acpid rights
+  chmod 755 "$pkgdir/usr/bin/acpid"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/acpid.service
===================================================================
--- community-x86_64/acpid.service	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-x86_64/acpid.service	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,10 +0,0 @@
-[Unit]
-Description=ACPI event daemon
-Requires=acpid.socket
-
-[Service]
-ExecStart=/usr/bin/acpid -f
-
-[Install]
-WantedBy=multi-user.target
-Also=acpid.socket

Copied: acpid/repos/community-x86_64/acpid.service (from rev 91936, acpid/trunk/acpid.service)
===================================================================
--- community-x86_64/acpid.service	                        (rev 0)
+++ community-x86_64/acpid.service	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,10 @@
+[Unit]
+Description=ACPI event daemon
+Requires=acpid.socket
+
+[Service]
+ExecStart=/usr/bin/acpid -f
+
+[Install]
+WantedBy=multi-user.target
+Also=acpid.socket

Deleted: community-x86_64/acpid.socket
===================================================================
--- community-x86_64/acpid.socket	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-x86_64/acpid.socket	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,8 +0,0 @@
-[Unit]
-Description=ACPID Listen Socket
-
-[Socket]
-ListenStream=/var/run/acpid.socket
-
-[Install]
-WantedBy=sockets.target

Copied: acpid/repos/community-x86_64/acpid.socket (from rev 91936, acpid/trunk/acpid.socket)
===================================================================
--- community-x86_64/acpid.socket	                        (rev 0)
+++ community-x86_64/acpid.socket	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,8 @@
+[Unit]
+Description=ACPID Listen Socket
+
+[Socket]
+ListenStream=/var/run/acpid.socket
+
+[Install]
+WantedBy=sockets.target

Deleted: community-x86_64/anything
===================================================================
--- community-x86_64/anything	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-x86_64/anything	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,3 +0,0 @@
-# Pass all events to our one handler script
-event=.*
-action=/etc/acpi/handler.sh %e

Copied: acpid/repos/community-x86_64/anything (from rev 91936, acpid/trunk/anything)
===================================================================
--- community-x86_64/anything	                        (rev 0)
+++ community-x86_64/anything	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: community-x86_64/handler.sh
===================================================================
--- community-x86_64/handler.sh	2013-05-29 23:05:37 UTC (rev 91936)
+++ community-x86_64/handler.sh	2013-05-29 23:05:51 UTC (rev 91937)
@@ -1,77 +0,0 @@
-#!/bin/bash
-# Default acpi script that takes an entry for all actions
-
-case "$1" in
-    button/power)
-        case "$2" in
-            PBTN|PWRF)
-                logger 'PowerButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    button/sleep)
-        case "$2" in
-            SLPB|SBTN)
-                logger 'SleepButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    ac_adapter)
-        case "$2" in
-            AC|ACAD|ADP0)
-                case "$4" in
-                    00000000)
-                        logger 'AC unpluged'
-                        ;;
-                    00000001)
-                        logger 'AC pluged'
-                        ;;
-                esac
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    battery)
-        case "$2" in
-            BAT0)
-                case "$4" in
-                    00000000)
-                        logger 'Battery online'
-                        ;;
-                    00000001)
-                        logger 'Battery offline'
-                        ;;
-                esac
-                ;;
-            CPU0)
-                ;;
-            *)  logger "ACPI action undefined: $2" ;;
-        esac
-        ;;
-    button/lid)
-        case "$3" in
-            close)
-                logger 'LID closed'
-                ;;
-            open)
-                logger 'LID opened'
-                ;;
-            *)
-                logger "ACPI action undefined: $3"
-                ;;
-    esac
-    ;;
-    *)
-        logger "ACPI group/action undefined: $1 / $2"
-        ;;
-esac
-
-# vim:set ts=4 sw=4 ft=sh et:

Copied: acpid/repos/community-x86_64/handler.sh (from rev 91936, acpid/trunk/handler.sh)
===================================================================
--- community-x86_64/handler.sh	                        (rev 0)
+++ community-x86_64/handler.sh	2013-05-29 23:05:51 UTC (rev 91937)
@@ -0,0 +1,77 @@
+#!/bin/bash
+# Default acpi script that takes an entry for all actions
+
+case "$1" in
+    button/power)
+        case "$2" in
+            PBTN|PWRF)
+                logger 'PowerButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    button/sleep)
+        case "$2" in
+            SLPB|SBTN)
+                logger 'SleepButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    ac_adapter)
+        case "$2" in
+            AC|ACAD|ADP0)
+                case "$4" in
+                    00000000)
+                        logger 'AC unpluged'
+                        ;;
+                    00000001)
+                        logger 'AC pluged'
+                        ;;
+                esac
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    battery)
+        case "$2" in
+            BAT0)
+                case "$4" in
+                    00000000)
+                        logger 'Battery online'
+                        ;;
+                    00000001)
+                        logger 'Battery offline'
+                        ;;
+                esac
+                ;;
+            CPU0)
+                ;;
+            *)  logger "ACPI action undefined: $2" ;;
+        esac
+        ;;
+    button/lid)
+        case "$3" in
+            close)
+                logger 'LID closed'
+                ;;
+            open)
+                logger 'LID opened'
+                ;;
+            *)
+                logger "ACPI action undefined: $3"
+                ;;
+    esac
+    ;;
+    *)
+        logger "ACPI group/action undefined: $1 / $2"
+        ;;
+esac
+
+# vim:set ts=4 sw=4 ft=sh et:



More information about the arch-commits mailing list