1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Fix uci on omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-05-02 08:32:19 +02:00
parent 313640cc9f
commit 84a0fe47b3

View file

@ -624,10 +624,10 @@ _intf_rule() {
COMMIT
EOF
fi
if [ "$(uci -q openmptcprouter.settings.proxy)" = "shadowsocks" ]; then
if [ "$(uci -q get openmptcprouter.settings.proxy)" = "shadowsocks" ]; then
config_load shadowsocks-libev
config_foreach _intf_rule_ss_rules ss_rules
else
elif [ "$(uci -q get openmptcprouter.settings.proxy)" = "v2ray" ]; then
_intf_rule_v2ray_rules
fi