mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Remove not used firewall include on all proxy
This commit is contained in:
parent
289c26ebad
commit
37b059f39a
5 changed files with 17 additions and 3 deletions
|
@ -2100,6 +2100,10 @@ clear_transparent_proxy() {
|
|||
|
||||
start_instance() {
|
||||
local section="$1"
|
||||
[ -n "$(uci -q get firewall.v2ray)" ] && {
|
||||
uci -q del firewall.v2ray
|
||||
uci -q commit firewall
|
||||
}
|
||||
|
||||
if ! v2ray_section_validate "$section" ; then
|
||||
_err "Invalid config."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue