Explorar o código

do no unload nouveau driver

Michael Yang hai 1 ano
pai
achega
9fc3bba9cf
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      scripts/install.sh

+ 3 - 3
scripts/install.sh

@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
     fi
 
     if lsmod | grep -q nouveau; then
-        status "Removing nouveau..."
-        $SUDO rmmod nouveau
+        status 'Reboot to complete NVIDIA CUDA driver install.'
+        exit 0
     fi
 
     $SUDO modprobe nvidia
 fi
 
 
-status "NVIDIA GPU installed."
+status "NVIDIA CUDA drivers installed."