Просмотр исходного кода

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

zfl9 8 лет назад
Родитель
Сommit
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;;