mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Remove interface from firewall interfaces when reomved from wizard
This commit is contained in:
parent
e48f194b73
commit
3abadd6823
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ function wizard_add()
|
|||
ucic:save("qos")
|
||||
ucic:commit("qos")
|
||||
luci.sys.call("uci -q del_list vnstat.@vnstat[-1].interface=" .. defif)
|
||||
luci.sys.call("uci -q commit vnstat")
|
||||
luci.sys.call("uci -q del_list firewall.@zone[1].network=wan" .. i)
|
||||
luci.sys.call("uci -q commit firewall")
|
||||
gostatus = false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue