forked from RP1/RaveOS-arch
Add post-install.sh
This commit is contained in:
parent
fcd4f93640
commit
b314a567cb
1 changed files with 18 additions and 0 deletions
18
post-install.sh
Normal file
18
post-install.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "[User]
|
||||
Session=
|
||||
Icon=/usr/share/backgrounds/rave-pp.png
|
||||
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
||||
|
||||
# Adding ucode to boot entries - Credit Lordify
|
||||
CPU=$(lscpu | grep "AMD" -c)
|
||||
if [[ $CPU -gt 0 ]]; then
|
||||
echo "initrd /amd-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf
|
||||
else
|
||||
echo "initrd /intel-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf
|
||||
fi
|
||||
|
||||
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
reboot
|
Loading…
Reference in a new issue