contrib/meshwizard: Fix fetching of available wifi interfaces in system
This commit is contained in:
parent
5884b500e2
commit
dbeb9c5499
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue