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
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
[ "$(uci -q get xray.main_dns.enabled)" = "1"] && /etc/init.d/xray rules_up
|
||||
[ "$(uci -q get xray.main_dns.enabled)" = "1" ] && /etc/init.d/xray rules_up
|
||||
|
|
|
@ -2321,6 +2321,10 @@ rules_down() {
|
|||
|
||||
|
||||
start_service() {
|
||||
[ -n "$(uci -q get firewall.xray)" ] && {
|
||||
uci -q del firewall.xray
|
||||
uci -q commit firewall
|
||||
}
|
||||
clear_transparent_proxy
|
||||
|
||||
config_load "$NAME"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue