Your Name 11 months ago
parent
commit
ee2c5bb762
1 changed files with 8 additions and 1 deletions
  1. 8 1
      build_cube.sh

+ 8 - 1
build_cube.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
-Version=18.3.3
+Version=18.3.4
 Cuda=YES
 Cuda=YES
 kernel_custom=YES
 kernel_custom=YES
 Miners=Yes
 Miners=Yes
@@ -149,6 +149,13 @@ YES)
 	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$kernel_version
 	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$kernel_version
 	chmod +x $kernel_version
 	chmod +x $kernel_version
 	sudo ./$kernel_version
 	sudo ./$kernel_version
+        if ! [ -f /etc/modprobe.d/blacklist-nvidia-nouveau.conf ]
+        then
+        echo "Blacklist nvidia-nouveau driver..."
+        echo "System will reboot"
+        sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
+        sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
+        fi
         nvidia_driver_
         nvidia_driver_
         autoroot_
         autoroot_
         decompte_
         decompte_