From c916a7ad90938de88a9867dabeb6e13f18b206a5 Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Mon, 30 Sep 2024 21:48:58 +0800 Subject: [PATCH] Update kvm.sh --- e20c/kvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e20c/kvm.sh b/e20c/kvm.sh index c0bbf1e..79cd9dc 100644 --- a/e20c/kvm.sh +++ b/e20c/kvm.sh @@ -368,10 +368,10 @@ update_scripts() { check_cpu_architecture() { ARCH=$(uname -m) if [[ "$ARCH" == "x86_64" ]]; then - echo -e " CPU型号:$(grep -m 1 "model name" /proc/cpuinfo | awk -F ': ' '{print $2}')" + light_magenta " 当前CPU型号:$(grep -m 1 "model name" /proc/cpuinfo | awk -F ': ' '{print $2}')" elif [[ "$ARCH" == "aarch64" || "$ARCH" == "armv7l" ]]; then if [[ -f /proc/device-tree/model ]]; then - echo -e " ARM机型:$(cat /proc/device-tree/model | tr -d '\0')" + light_magenta " 当前ARM机型:$(cat /proc/device-tree/model | tr -d '\0')" else echo -e " Board model information not available." fi