dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 698ad7ce56d377cd0734d8fd36dc307be143d4e8
Author: John Darrington <[email protected]>
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)))