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

remotes/tags/0.11.0
Manuel Munz 2012-06-27 17:50:50 +00:00
parent 5884b500e2
commit dbeb9c5499
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
posIB=-1 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 [ -z "$(echo $IBwifis |grep IB_wifi)" ] && exit
for w in $IBwifis; do for w in $IBwifis; do