mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix omr-bypass
This commit is contained in:
parent
4457e58f5c
commit
5a3e8ccff8
1 changed files with 1 additions and 2 deletions
|
@ -919,7 +919,7 @@ start_service() {
|
|||
[ "$(uci -q get xray.main.enabled)" = "1" ] && _xray_rules_config
|
||||
|
||||
|
||||
uci batch <<-EOF
|
||||
uci -q batch <<-EOF
|
||||
set firewall.omr_bypass=include
|
||||
set firewall.omr_bypass.enabled='1'
|
||||
set firewall.omr_bypass.type='script'
|
||||
|
@ -1022,7 +1022,6 @@ stop_service() {
|
|||
config_foreach _delete_firewall_rules ipset
|
||||
uci -q commit firewall
|
||||
fw4 -q restart
|
||||
exit 0
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue