Unverified Commit c577721a authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #605 from jmorganca/mxyng/install.sh

do not unload nouveau driver
parents 7774ed4a 9fc3bba9
...@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then ...@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
fi fi
if lsmod | grep -q nouveau; then if lsmod | grep -q nouveau; then
status "Removing nouveau..." status 'Reboot to complete NVIDIA CUDA driver install.'
$SUDO rmmod nouveau exit 0
fi fi
$SUDO modprobe nvidia $SUDO modprobe nvidia
fi fi
status "NVIDIA GPU installed." status "NVIDIA CUDA drivers installed."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment