Updated scripts

This commit is contained in:
2025-04-27 14:56:39 +02:00
parent 36633217df
commit e737e49210
2 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ if [ "$HOSTNAME" == "STEAMBOX" ]; then
sudo pacman --noconfirm --needed -S base-devel linux-headers git
sudo pacman --noconfirm --needed -S nvidia-open-dkms nvidia-utils lib32-nvidia-utils nvidia-settings opencl-nvidia cuda
if [ "$NEW_KERNEL" == "yes" ]; then
printf -- '\033[32m \n\n***** Please reboot and run update once more! *****\n\n\033[37m'
printf -- '\033[32m \n\n***** Nvidia driver updated kernel! Please reboot and run update once more! *****\n\n\033[37m'
exit
fi
fi
@@ -173,7 +173,7 @@ sudo pacman --noconfirm --needed -S udisks2 udiskie
echo 'ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"' | sudo tee /etc/udev/rules.d/99-udisks2.rules
echo 'D /media 0755 root root 0 -' | sudo tee /etc/tmpfiles.d/media.conf
if [ "$HOSTNAME" == "STEAMBOX" ]; then
echo "$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/udiskie mount -b /dev/sda1" | sudo tee /etc/sudoers.d/udiskie
echo "$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/udisksctl mount -b /dev/sda1" | sudo tee /etc/sudoers.d/udisksctl
fi
# Install btop
printf -- '\033[33m Installing btop\n\033[37m'