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

commit 3ce64524feea9b859f854d0862df9417c880b35b
Author: John Darrington <j...@gnu.org>
Date:   Wed Jan 11 08:06:03 2017 +0100

    installer: Use a cleaner method of detecting wireless capability for 
ethernet interfaces.
    
    * gnu/system/installer/network.scm (interfaces) : Avoid one use of system*.
---
 gnu/system/installer/network.scm |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/system/installer/network.scm b/gnu/system/installer/network.scm
index 2209877..04861cf 100644
--- a/gnu/system/installer/network.scm
+++ b/gnu/system/installer/network.scm
@@ -44,8 +44,7 @@
          `((name .  ,ifce)
            (class . ,(cond
                       ((loopback-network-interface? ifce) 'loopback)
-                      ((zero? (system* "iw" "dev" ifce "info"))
-                       'wireless)
+                      ((string-prefix? ifce "wl") 'wireless)
                       (else 'ethernet)))))
        (all-network-interface-names)))
 

Reply via email to