diff --git a/script/generate_bash_product_id.sh b/script/generate_bash_product_id.sh index b026c41..912efce 100644 --- a/script/generate_bash_product_id.sh +++ b/script/generate_bash_product_id.sh @@ -14,7 +14,7 @@ if [ ! -f "$UUID_FILE" ]; then # 收集硬件信息 CPU_MODEL=$(lscpu | grep "Model name" | awk -F: '{print $2}' | sed 's/^ *//') ARCHITECTURE=$(uname -m) - PCIE_DEVICES_RAW=$(timeout 3s lspci || true) + PCIE_DEVICES_RAW=$(timeout 3s lspci -nn || true) if [ -z "$CPU_MODEL" ] || [ -z "$ARCHITECTURE" ]; then echo "❌ 无法收集到CPU或系统架构信息,注册终止"