added ucode add to kernel conf

This commit is contained in:
RP1 2025-02-17 20:35:12 +01:00
parent beff542c6c
commit 96e855bb1c

View file

@ -14,7 +14,14 @@ cd /usr/local/bin/progs
echo "[User]
Session=
Icon=/usr/share/backgrounds/rave-pp.png
SystemAccount=false" > /dev/null | sudo tee /var/lib/AccountsService/users/$USER
SystemAccount=false" > /dev/null | sudo tee /var/lib/AccountsService/users/$USER
# Adding ucode to boot entries - Credit Lordify
if [[ $CPU -gt 0 ]]; then
echo "initrd /amd-ucode.img" /dev/null | sudo tee -a /boot/loader/entries/*.conf
else
echo "initrd /intel-ucode.img" /dev/null | sudo tee -a /boot/loader/entries/*.conf
fi
# Zenity ablak megjelenítése
user_choice=$(zenity --list --checklist --width='1000' --height='1000' \