1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2024-07-04 17:02:33 +08:00
parent 42f342c1bb
commit 60c4e33a2f
25 changed files with 291 additions and 258 deletions

View file

@ -339,7 +339,7 @@ server_state() {
rules_up() {
rules_exist && {
[ -f /bin/blocklanfw ] && /bin/blocklanfw 2>&1 >/dev/null
[ -f /bin/blocklanfw ] && /bin/blocklanfw >/dev/null 2>&1
return 0
}
[ "$(uci -q get shadowsocks-rust.ss_rules.disabled)" = "1" ] && return 0
@ -359,7 +359,7 @@ rules_up() {
logger -t "Shadowsocks-rust" "Reload omr-bypass rules"
/etc/init.d/omr-bypass reload_rules
}
[ -f /bin/blocklanfw ] && /bin/blocklanfw 2>&1 >/dev/null
[ -f /bin/blocklanfw ] && /bin/blocklanfw >/dev/null 2>&1
}
rules_down() {