Update microcode.sh

check for Intel iucode-tool
This commit is contained in:
tteckster 2023-08-10 06:11:06 -04:00 committed by GitHub
parent 06229bedb6
commit a4c45beffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,13 @@ msg_error() {
}
intel() {
if ! apt -qq list iucode-tool >/dev/null 2>&1; then
msg_info "Installing iucode-tool: a tool for updating Intel processor microcode"
apt-get install -y iucode-tool &>/dev/null
msg_ok "Installed iucode-tool"
else
msg_ok "Intel iucode-tool is already installed"
fi
msg_info "Downloading the latest Intel Processor Microcode Package for Linux"
wget -q http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/intel-microcode_3.20230808.1_amd64.deb