mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix v2ray firewall name
This commit is contained in:
parent
92ff9e9e4d
commit
e3a04f6478
1 changed files with 7 additions and 1 deletions
|
@ -94,11 +94,17 @@ EOF
|
|||
if [ "$(uci -q get firewall.v2ray)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set firewall.v2ray=include
|
||||
set firewall.v2ray.path=/etc/firewall.v2ray
|
||||
set firewall.v2ray.path=/etc/firewall.v2ray-rules
|
||||
set firewall.v2ray.reload=1
|
||||
commit firewall
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get firewall.v2ray.path)" != "/etc/firewall.v2ray-rules" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set firewall.v2ray.path=/etc/firewall.v2ray-rules
|
||||
commit firewall
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get v2ray.main_reverse.bridges | grep omrbridge)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
|
|
Loading…
Reference in a new issue