소스 검색

添加清空 ipset-gfwlist 列表的命令

zfl9 8 년 전
부모
커밋
44deb0f5df
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ss-tproxy

+ 2 - 1
ss-tproxy

@@ -1006,7 +1006,8 @@ case $1 in
     stop)               stop; status;;
     status)             status;;
     r*)                 stop; status; echo; start; status;;
-    f*)                 flush_cache;;
+    flush-cache)        flush_cache;;
+    flush-gfwlist)      ipset -F gfwlist &>/dev/null;;
     update-chnonly)     update_chnonly;;
     update-gfwlist)     update_gfwlist;;
     update-chnroute)    update_chnroute;;