mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
sync (#384)
This commit is contained in:
commit
87eeaf2098
4 changed files with 15 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue