From dbeb9c54997748ca73b54560db49b2341195b4da Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 27 Jun 2012 17:50:50 +0000 Subject: [PATCH] contrib/meshwizard: Fix fetching of available wifi interfaces in system --- .../meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh index 872b36c46..ea200559e 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh @@ -6,7 +6,7 @@ posIB=-1 -IBwifis="$(uci show meshwizard.netconfig | grep -v 'netconfig=netconfig' | sed 's/meshwizard.netconfig\.\(IB_wifi.*\)_.*/\1/' |uniq)" +IBwifis="$(uci show meshwizard.netconfig | grep 'IB_' | sed 's/meshwizard.netconfig\.\(IB_wifi.*\)_.*/\1/' |uniq)" [ -z "$(echo $IBwifis |grep IB_wifi)" ] && exit for w in $IBwifis; do -- 2.25.1