From 8146e0570e47c3777b756916a44cbb4356fefd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Mon, 28 Jul 2025 23:27:17 +0200 Subject: [PATCH] gen-interfaces: Fix bug when generating on boards with mounted Wi-Fi chipsets These should not appear in a generated factory-config or failure-config. --- src/confd/bin/gen-interfaces | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/confd/bin/gen-interfaces b/src/confd/bin/gen-interfaces index cfe3b6c0..cad922c2 100755 --- a/src/confd/bin/gen-interfaces +++ b/src/confd/bin/gen-interfaces @@ -96,8 +96,8 @@ filter_iface_ports() iface_devs="" for phy in $ifaces; do found="" + [ -d "/sys/class/net/${phy}/wireless" ] && continue for port in $ports; do - [ -d "/sys/class/net/${port}/wireless" ] && continue if [ "$port" = "$phy" ]; then found=true break