~修复因.start_error失败标记导致的部分bug

This commit is contained in:
juewuy
2026-02-04 17:59:20 +08:00
parent fd4ca02ff3
commit cd7d4232b6
3 changed files with 4 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ case "$1" in
start)
[ -n "$(pidof CrashCore)" ] && $0 stop #禁止多实例
stop_firewall #清理路由策略
rm -f "CRASHDIR"/.start_error #移除自启失败标记
rm -f "$CRASHDIR"/\.start_error #移除自启失败标记
#使用不同方式启动服务
if [ "$firewall_area" = "5" ]; then #主旁转发
. "$CRASHDIR"/starts/fw_start.sh