diff --git a/scripts/start.sh b/scripts/start.sh index 4a610f1..8fb4081 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1788,7 +1788,7 @@ bfstart() { #启动前 #检测网络连接 [ "$network_check" != "已禁用" ] && [ ! -f "$TMPDIR"/crash_start_time ] && ckcmd ping && network_check [ ! -d "$BINDIR"/ui ] && mkdir -p "$BINDIR"/ui - [ -z "$crashcore" ] && crashcore=clash + [ -z "$crashcore" ] && crashcore=meta #执行条件任务 [ -s "$CRASHDIR"/task/bfstart ] && . "$CRASHDIR"/task/bfstart #检查内核配置文件 diff --git a/scripts/webget.sh b/scripts/webget.sh index 1bfa664..7dfd1b9 100644 --- a/scripts/webget.sh +++ b/scripts/webget.sh @@ -2232,6 +2232,7 @@ userguide(){ #设置运行模式 redir_mod="Redir模式" setconfig redir_mod "$redir_mod" + [ -n "$(echo $cputype | grep -E "linux.*mips.*")" ] && setconfig crashcore "clash" #自动识别IPV6 [ -n "$(ip a 2>&1 | grep -w 'inet6' | grep -E 'global' | sed 's/.*inet6.//g' | sed 's/scope.*$//g')" ] && { setconfig ipv6_redir 已开启 @@ -2255,7 +2256,7 @@ userguide(){ fi elif [ "$num" = 2 ];then setconfig redir_mod "Redir模式" - setconfig crashcore "clash" + [ -n "$(echo $cputype | grep -E "linux.*mips.*")" ] && setconfig crashcore "clash" setconfig common_ports "未开启" setconfig firewall_area '2'