guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

183/197: installer: Specify a pid file for wpa_supplicant.


From: Danny Milosavljevic
Subject: 183/197: installer: Specify a pid file for wpa_supplicant.
Date: Mon, 3 Jul 2017 20:37:22 -0400 (EDT)

dannym pushed a commit to branch wip-installer-2
in repository guix.

commit 011eaf73d7945573bfdb9c809ccdc270395c3273
Author: John Darrington <address@hidden>
Date:   Tue Feb 14 15:45:13 2017 +0100

    installer: Specify a pid file for wpa_supplicant.
    
    * gnu/system/installer/wireless.scm (wireless-connect): Pass the -P
    parameter to wpa_supplicant.
---
 gnu/system/installer/wireless.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/system/installer/wireless.scm 
b/gnu/system/installer/wireless.scm
index f45ae64..3e34e61 100644
--- a/gnu/system/installer/wireless.scm
+++ b/gnu/system/installer/wireless.scm
@@ -274,5 +274,9 @@ network={
 
        (with-output-to-file "/dev/null"
          (lambda ()
-           (and (zero? (system* "wpa_supplicant" "-c" filename "-i" ifce "-B"))
+           (and (zero? (system* "wpa_supplicant"
+                                "-c" filename
+                                "-P" (format #f "/wpspid-~a" ifce)
+                                "-i" ifce
+                                "-B"))
                 (dhclient ifce))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]