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-11-24 14:32:29 +08:00 committed by GitHub
commit 87eeaf2098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 10 deletions

View file

@ -329,7 +329,7 @@ reload_service() {
}
rules_exist() {
[ -n "$(iptables-save 2>/dev/null | grep 'A ssr')" ] && return 0
[ -n "$(iptables-save 2>/dev/null | grep 'A ssr_def_local_out')" ] && return 0
return 1
}