guix-commits
[Top][All Lists]
Advanced

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

61/197: installer: Indicate which wireless access points are encrypted.


From: Danny Milosavljevic
Subject: 61/197: installer: Indicate which wireless access points are encrypted.
Date: Mon, 3 Jul 2017 20:37:00 -0400 (EDT)

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

commit 825657b25be715df1b3867a61de0a30f65f54af1
Author: John Darrington <address@hidden>
Date:   Sun Jan 1 17:43:37 2017 +0100

    installer: Indicate which wireless access points are encrypted.
    
    * gnu/system/installer/wireless.scm (essid-page-init): Add field indicating 
whether
    the access point is encrypted or not.
---
 gnu/system/installer/wireless.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/system/installer/wireless.scm 
b/gnu/system/installer/wireless.scm
index d0bfce7..65b60df 100644
--- a/gnu/system/installer/wireless.scm
+++ b/gnu/system/installer/wireless.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016 John Darrington <address@hidden>
+;;; Copyright © 2016, 2017 John Darrington <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -142,8 +142,11 @@ network={
                     (assq-ref j 'signal)
                     (assq-ref i 'signal))))
                 #:disp-proc
-                (lambda (d _) (assq-ref d 'essid)))
-               ))
+                (lambda (d _)
+                  (format #f "~30a ~a" (assq-ref d 'essid)
+                          (if (assq-ref d 'encryption)
+                              (N_ "Encr.")
+                              (N_ "Clear")))))))
 
     (addstr*   text-window  (format #f
              (gettext



reply via email to

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