~修复小闪存模式内核会被重复下载的bug

~修复小闪存模式部分设备无法启用的bug
~修复部分设备Tproxy失效的bug
This commit is contained in:
juewuy
2025-12-03 20:00:57 +08:00
parent 2963d7cadc
commit 26dea537ee
2 changed files with 15 additions and 15 deletions

View File

@@ -1211,7 +1211,7 @@ setboot() { #启动相关设置
if [ "$mini_clash" = "未开启" ]; then
if [ "$dir_size" -gt 20480 ]; then
echo -e "\033[33m您的设备空间充足(>20M),无需开启!\033[0m"
elif [ "start_old" != '已开启' -a "$(cat /proc/1/comm)" = "systemd" ]; then
elif [ "$start_old" != '已开启' -a "$(cat /proc/1/comm)" = "systemd" ]; then
echo -e "\033[33m不支持systemd启动模式请先启用保守模式\033[0m"
else
[ "$BINDIR" = "$CRASHDIR" ] && BINDIR="$TMPDIR"