added ucode add to kernel conf
This commit is contained in:
parent
beff542c6c
commit
96e855bb1c
1 changed files with 8 additions and 1 deletions
|
@ -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' \
|
||||
|
|
Loading…
Reference in a new issue