[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-74-g83c9b5c

Ben Armstrong synrg at debian.org
Fri Nov 12 11:00:50 UTC 2010


The following commit has been merged in the master branch:
commit 99455a31536e0bf0a23536abcc82298cdf4c75cc
Author: Luca Niccoli <lultimouomo at gmail.com>
Date:   Fri Apr 23 17:05:20 2010 +0200

    Remove acpi events and actions that will be handled by acpi-support
    
    Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>

diff --git a/etc/acpi/actions/lid.sh b/etc/acpi/actions/lid.sh
deleted file mode 100755
index a10e267..0000000
--- a/etc/acpi/actions/lid.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-[ -e /usr/share/acpi-support/policy-funcs ] || exit 0
-
-. /usr/share/acpi-support/policy-funcs
-
-
-if [ `CheckPolicy` = 0 ] ; then
-	exit 0
-fi
-
-[ -e /etc/default/eeepc-acpi-scripts ] || exit 0
-. /etc/default/eeepc-acpi-scripts
-
-case "$LID_CLOSE_ACTION" in
-    nothing)
-	exit 0
-    ;;
-    suspend|"")
-	[ -e /etc/acpi/actions/suspend.sh ] || exit 0
-	. /etc/acpi/actions/suspend.sh
-    ;;
-    *)
-	$LID_CLOSE_ACTION
-    ;;
-esac
diff --git a/etc/acpi/actions/sleep.sh b/etc/acpi/actions/sleep.sh
deleted file mode 100755
index f79de08..0000000
--- a/etc/acpi/actions/sleep.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-[ -e /usr/share/acpi-support/policy-funcs ] || exit 0
-
-. /usr/share/acpi-support/policy-funcs
-
-if [ `CheckPolicy` = 0 ] ; then
-	exit 0
-fi
-
-[ -e /etc/acpi/actions/suspend.sh ] || exit 0
-
-. /etc/acpi/actions/suspend.sh
diff --git a/etc/acpi/events/lid b/etc/acpi/events/lid
deleted file mode 100644
index a169c30..0000000
--- a/etc/acpi/events/lid
+++ /dev/null
@@ -1,2 +0,0 @@
-event=button/lid LID [^o]
-action=/etc/acpi/actions/lid.sh
diff --git a/etc/acpi/events/sleep b/etc/acpi/events/sleep
deleted file mode 100644
index b531fae..0000000
--- a/etc/acpi/events/sleep
+++ /dev/null
@@ -1,2 +0,0 @@
-event=button/sleep SLPB
-action=/etc/acpi/actions/sleep.sh
diff --git a/etc/acpi/events/sleep-netlink b/etc/acpi/events/sleep-netlink
deleted file mode 100644
index 4e36324..0000000
--- a/etc/acpi/events/sleep-netlink
+++ /dev/null
@@ -1,2 +0,0 @@
-event=button/sleep SBTN
-action=/etc/acpi/actions/sleep.sh

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list