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

Doesn't run rules_up if proxy disabled

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-17 15:58:21 +01:00
parent fef367a275
commit cc072920ad
4 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
/etc/init.d/shadowsocks-libev rules_up
[ "$(uci -q get shadowsocks-libev.sss0.disabled)" != "1" ] && /etc/init.d/shadowsocks-libev rules_up

View file

@ -1,2 +1,2 @@
#!/bin/sh
/etc/init.d/shadowsocks-rust rules_up
[ "$(uci -q get shadowsocks-rust.sss0.disabled)" != "1" ] && /etc/init.d/shadowsocks-rust rules_up

View file

@ -1,2 +1,2 @@
#!/bin/sh
/etc/init.d/v2ray rules_up
[ "$(uci -q get v2ray.main_dns.enabled)" = "1" ] && /etc/init.d/v2ray rules_up

View file

@ -1,2 +1,2 @@
#!/bin/sh
/etc/init.d/xray rules_up
[ "$(uci -q get xray.main_dns.enabled)" = "1"] && /etc/init.d/xray rules_up