[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-16-g206d7f6
Damyan Ivanov
dmn at debian.org
Tue Jan 19 05:50:45 UTC 2010
The following commit has been merged in the master branch:
commit 206d7f696311669a30ffe42bf2f62b4629402082
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jan 19 07:50:38 2010 +0200
lid.sh/sleep.sh: remove checks for running powersaved
The checks can be faked and powersaved was dropped from Debian. Partly
addresses #565855.
diff --git a/debian/changelog b/debian/changelog
index 6da3e0e..8f910d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ eeepc-acpi-scripts (1.1.7) UNRELEASED; urgency=low
using RT2860
* wireless.sh: deconfigure wlan0 and remove the rt2860sta module before
switching off the hardware
+ * lid.sh/sleep.sh: remove checks for running powersaved. The checks can be
+ faked and powersaved was dropped from Debian. Partly addresses #565855.
[ Darren Salt ]
* rfkill-input isn't present in kernel ≥ 2.6.31, so don't try loading it.
diff --git a/etc/acpi/actions/lid.sh b/etc/acpi/actions/lid.sh
index d7ccff7..a10e267 100755
--- a/etc/acpi/actions/lid.sh
+++ b/etc/acpi/actions/lid.sh
@@ -5,11 +5,6 @@
. /usr/share/acpi-support/policy-funcs
-# If powersaved is running, let it process the acpi event
-if pidof powersaved; then
- exit 0
-fi
-
if [ `CheckPolicy` = 0 ] ; then
exit 0
fi
diff --git a/etc/acpi/actions/sleep.sh b/etc/acpi/actions/sleep.sh
index 7b4656e..f79de08 100755
--- a/etc/acpi/actions/sleep.sh
+++ b/etc/acpi/actions/sleep.sh
@@ -4,11 +4,6 @@
. /usr/share/acpi-support/policy-funcs
-# If powersaved is running, let it process the acpi event
-if pidof powersaved; then
- exit 0
-fi
-
if [ `CheckPolicy` = 0 ] ; then
exit 0
fi
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list