guix-commits
[Top][All Lists]
Advanced

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

03/07: installer: Specify a pid file for wpa_supplicant.


From: John Darrington
Subject: 03/07: installer: Specify a pid file for wpa_supplicant.
Date: Sun, 19 Feb 2017 12:30:55 -0500 (EST)

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

commit 2440c699bf6be3993f5c601782e3df3b6a84b15d
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]