getdate.sh > update.sh

This commit is contained in:
juewuy
2024-03-06 16:04:36 +08:00
parent 42475e82fb
commit 70464412ac
3 changed files with 15 additions and 15 deletions

View File

@@ -1457,7 +1457,7 @@ core_check(){ #检查及下载内核文件
tar_core ${BINDIR}/CrashCore.tar.gz CrashCore
[ -z "$(find ${TMPDIR}/CrashCore $find_para 2>/dev/null)" ] && {
logger "未找到【$crashcore】核心,正在下载!" 33
[ -z "$cpucore" ] && source ${CRASHDIR}/getdate.sh && getcpucore
[ -z "$cpucore" ] && source ${CRASHDIR}/update.sh && getcpucore
[ -z "$cpucore" ] && logger 找不到设备的CPU信息请手动指定处理器架构类型 31 && exit 1
get_bin ${TMPDIR}/CrashCore.tar.gz "bin/$crashcore/${target}-linux-${cpucore}.tar.gz"
#校验内核