[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-38-g809859b
Damyan Ivanov
dmn at debian.org
Wed Jan 27 05:43:09 UTC 2010
The following commit has been merged in the master branch:
commit 809859b750f8ddb29777dad8face6181c178b423
Author: Damyan Ivanov <dmn at debian.org>
Date: Wed Jan 27 07:42:42 2010 +0200
suspend.sh: fix the check for a running /sbin/shutdown
diff --git a/debian/changelog b/debian/changelog
index cc82d9e..1477f48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+eeepc-acpi-scripts (1.1.9) UNRELEASED; urgency=low
+
+ * suspend.sh: fix the check for a running /sbin/shutdown
+ Thanks to Darren Salt.
+
+ -- Damyan Ivanov <dmn at debian.org> Wed, 27 Jan 2010 07:41:54 +0200
+
eeepc-acpi-scripts (1.1.8) unstable; urgency=low
[ Darren Salt ]
diff --git a/etc/acpi/actions/suspend.sh b/etc/acpi/actions/suspend.sh
index 77b4cc0..e80daab 100755
--- a/etc/acpi/actions/suspend.sh
+++ b/etc/acpi/actions/suspend.sh
@@ -7,7 +7,7 @@ FUNC_LIB=/usr/share/eeepc-acpi-scripts/functions.sh
. /etc/default/eeepc-acpi-scripts
. $FUNC_LIB
-if (runlevel | grep -q [06]) || (pgrep -f -z -u root '/sbin/shutdown' > /dev/null); then
+if (runlevel | grep -q [06]) || (pgrep -f -x -u root '/sbin/shutdown' > /dev/null); then
exit 0
fi
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list