mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
ShadowSocks Rust init fix no output
This commit is contained in:
parent
3caab17ed1
commit
17f047fe01
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue