~新增安装时自定义别名功能

~小米自动开机清理功能适配更多设备
~将项目内置Geosite.dat数据库替换为Mihomo官方数据库以修复报错
~暂时移除了由于项目内文件夹路径变动导致不可用的wwng2333下载源
~集中修复了一些Singbox相关内核的启动报错,并增加提示信息
~修复部分设备自动更新Mihomo内核失败的bug
This commit is contained in:
juewuy
2025-12-13 15:39:17 +08:00
parent b587bbb8f4
commit c1082e55a6
7 changed files with 48 additions and 25 deletions

View File

@@ -43,8 +43,9 @@ auto_clean(){
#自动清理升级备份文件夹
rm -rf /data/etc_bak
#自动清理被写入闪存的系统日志并禁止服务
/etc/init.d/stat_points stop
/etc/init.d/stat_points disable
/etc/init.d/stat_points stop 2>/dev/null
/etc/init.d/stat_points disable 2>/dev/null
sed -i '\#/logrotate#{ /^[[:space:]]*#/!s/^/#ShellCrash自动注释 / }' /etc/crontabs/root
rm -rf /data/usr/log
}
init(){