1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Fix shadowsocks rules up

This commit is contained in:
Ycarus 2018-10-31 22:36:47 +01:00
parent bbe9965da0
commit 98c843e910

View file

@ -332,7 +332,7 @@ rules_exist() {
rules_up() {
rules_exist && return 0
[ "$(ps w | grep ss- | grep -v ss-)" = "" ] && return 0
[ "$(ps w | grep ss- | grep -v grep)" = "" ] && return 0
logger -t "Shadowsocks" "Rules UP"
config_load shadowsocks-libev
for cfgtype in ss_redir; do