mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-25 01:34:28 +01:00
Update microcode.sh
tweak
This commit is contained in:
parent
bfd5194118
commit
7eba5494ea
@ -92,7 +92,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
|
||||
exit
|
||||
fi
|
||||
msg_info "Checking CPU Vendor"
|
||||
cpu=$(lscpu | grep -oP 'Vendor ID:\s*\K\S+')
|
||||
cpu=$(lscpu | grep -oP 'Vendor ID:\s*\K\S+' | head -n 1)
|
||||
if [ "$cpu" == "GenuineIntel" ]; then
|
||||
msg_ok "${cpu} was detected"
|
||||
intel
|
||||
|
Loading…
Reference in New Issue
Block a user