[pkg-wpa-devel] [wpa] 02/02: Don't run wpa_cli suspend/resume if /run/wpa_supplicant isn't around (Closes: #835648).

Andrew Shadura andrewsh at debian.org
Wed Sep 14 09:07:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

andrewsh pushed a commit to branch debian/sid
in repository wpa.

commit 1f94908eb2b786061c474f83a432cc7bbf3eb351
Author: Andrew Shadura <andrewsh at debian.org>
Date:   Wed Sep 14 11:06:18 2016 +0200

    Don't run wpa_cli suspend/resume if /run/wpa_supplicant isn't around (Closes: #835648).
---
 debian/changelog                  | 9 +++++++--
 debian/system-sleep/wpasupplicant | 2 ++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e80b167..b5fbb02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
-wpa (2.5-2+v2.4-3) UNRELEASED; urgency=medium
+wpa (2.5-2+v2.4-4) UNRELEASED; urgency=medium
 
+  [ Helmut Grohne ]
   * Address FTCBFS: Set PKG_CONFIG (Closes: #836074).
 
- -- Helmut Grohne <helmut at subdivi.de>  Tue, 30 Aug 2016 14:19:27 +0200
+  [ Andrew Shadura ]
+  * Don't run wpa_cli suspend/resume if /run/wpa_supplicant isn't around
+    (Closes: #835648).
+
+ -- Andrew Shadura <andrewsh at debian.org>  Wed, 14 Sep 2016 10:35:56 +0200
 
 wpa (2.5-2+v2.4-2) unstable; urgency=medium
 
diff --git a/debian/system-sleep/wpasupplicant b/debian/system-sleep/wpasupplicant
index 2f14c36..307975a 100755
--- a/debian/system-sleep/wpasupplicant
+++ b/debian/system-sleep/wpasupplicant
@@ -1,6 +1,8 @@
 #!/bin/sh
 set -e
 
+[ -d /run/wpa_supplicant ] || exit 0
+
 if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then
     case "$1" in
         pre) /sbin/wpa_cli suspend ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/wpa.git



More information about the Pkg-wpa-devel mailing list