#!/bin/bash if [ ! -f /home/wareck/.cuda_install ] then if [ ! -f cuda_12.2.2_535.104.05_linux.run ] then megadown https://mega.nz/file/u9h1wbYL#QuHtEpCErWXDFjjMVFTK9QzcAI5SrsgTMbx6DfFJT2k fi chmod +x cuda_12.2.2_535.104.05_linux.run sudo service lightdm stop touch /home/wareck/.cuda_install sudo init 3 fi sudo rm /tmp/.X1-lock sudo ./cuda_12.2.2_535.104.05_linux.run --silent --driver sudo rm /home/wareck/.cuda_install