* luci/app-ffwizard: fix deletion of olsrd interface
This commit is contained in:
parent
7ea3e1a5e6
commit
bf80f902c5
1 changed files with 5 additions and 5 deletions
|
@ -230,7 +230,7 @@ function olsr.write(self, section, value)
|
|||
local external = community and uci:get("freifunk", community, "external") or ""
|
||||
|
||||
-- Delete old interface
|
||||
uci:delete_all("freifunk", "Interface", {interface=device})
|
||||
uci:delete_all("olsrd", "Interface", {interface=device})
|
||||
|
||||
-- Write new interface
|
||||
local olsrbase = uci:get_all("freifunk", "olsr_interface")
|
||||
|
|
Loading…
Reference in a new issue