1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-12-26 10:19:02 +01:00
parent 4457e58f5c
commit 5a3e8ccff8

View file

@ -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() {