From 9fc3bba9cf79d92d44f75e532310034585d23bc8 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Tue, 26 Sep 2023 09:36:54 -0700 Subject: [PATCH] do no unload nouveau driver --- scripts/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index f63f5ff0..e1ce4084 100644 --- a/scripts/install.sh +++ b/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."