fixed echo commands
This commit is contained in:
parent
0b696a4009
commit
7689b2cdcd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue