From: Manuel Munz Date: Wed, 27 Jun 2012 17:50:50 +0000 (+0000) Subject: contrib/meshwizard: Fix fetching of available wifi interfaces in system X-Git-Tag: 0.11.0~561 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbeb9c54997748ca73b54560db49b2341195b4da;p=oweals%2Fluci.git contrib/meshwizard: Fix fetching of available wifi interfaces in system --- 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