fixed echo commands

This commit is contained in:
RP1 2025-02-17 20:37:53 +01:00
parent 0b696a4009
commit 7689b2cdcd

View file

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