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 2023-12-04 17:27:20 +08:00 committed by GitHub
commit 224d5a3c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 2 deletions

View file

@ -369,6 +369,10 @@ rules_up() {
rules_down() {
rules_exist || return 0
enabled="0"
config_load shadowsocks-rust
config_foreach server_state server
[ "$enabled" = "1" ] && return
logger -t "Shadowsocks" "Rules DOWN"
local bin="$ss_bindir/ss-rules"
[ -x "$bin" ] && {