From a6567a24152c80076116b4d4e7a013972f2e44ab Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 21 Nov 2024 13:17:45 +0800 Subject: [PATCH] autocore: fix kernel 6.12 x86 board name display --- package/lean/autocore/files/x86/autocore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lean/autocore/files/x86/autocore b/package/lean/autocore/files/x86/autocore index f5d8a0106..667d22a10 100755 --- a/package/lean/autocore/files/x86/autocore +++ b/package/lean/autocore/files/x86/autocore @@ -28,7 +28,7 @@ start() d=$(echo -n 'C') e=$(cat /proc/cpuinfo | grep 'processor' | wc -l) f=$(echo -n 'T ') - g=$(dmesg | grep 'DMI:' | awk -F ',' '{print $1 }' | awk -F ':' '{print $2 }') + g=$(dmesg | grep 'DMI:' | awk -F ',' '{print $1 }' | awk -F ':' '{print $2 }' | head -n 1) if [ -d /sys/devices/cpu_atom/ ]; then pcore=$(cat /sys/devices/cpu_core/cpus | awk -F- '{print $2}')