Sfoglia il codice sorgente

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

zfl9 8 anni fa
parent
commit
44deb0f5df
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;;