contrib/meshwizard: Fix fetching of available wifi interfaces in system

This commit is contained in:
Manuel Munz 2012-06-27 17:50:50 +00:00
parent 5884b500e2
commit dbeb9c5499

View file

@ -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