mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-07 01:41:25 +01:00
inteno-netmode: fixe so that all wifi-ifac is deleted as they should
This commit is contained in:
parent
d000b5e27b
commit
688df72baa
1 changed files with 2 additions and 1 deletions
|
|
@ -215,7 +215,8 @@ while uci -q get wireless.@wifi-iface[$i] >/dev/null; do
|
|||
fi
|
||||
state="reload"
|
||||
uci -q delete wireless.@wifi-iface[$i] >/dev/null
|
||||
i=$((i+1))
|
||||
# do not increment i. The next interface will now
|
||||
# have the same index as the deleted interface
|
||||
done
|
||||
|
||||
uci commit wireless
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue