~回退启动后自动清理内核缓存文件的改动

This commit is contained in:
juewuy
2024-02-09 21:06:51 +08:00
parent 35b955befb
commit e3551406c0
6 changed files with 3 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -5,4 +5,4 @@ meta_v=v1.18.0
singboxp_v=1.8.5-73d97226
singbox_v=1.8.5
GeoIP_v=20240203
versionsh=1.9.0pre6
versionsh=1.9.0pre7

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) Juewuy
version=1.9.0pre6
version=1.9.0pre7
setdir(){
dir_avail(){

View File

@@ -1672,7 +1672,7 @@ afstart(){ #启动后
i=$((i+1))
done
if [ -n "$test" -o -n "$(pidof CrashCore)" ];then
rm -rf ${TMPDIR}/CrashCore #删除缓存目录内核文件
#rm -rf ${TMPDIR}/CrashCore #删除缓存目录内核文件
#设置DNS转发
start_dns(){
[ "$dns_mod" != "fake-ip" ] && [ "$cn_ip_route" = "已开启" ] && cn_ip_route