Created
February 16, 2016 21:23
-
-
Save timjp87/39b427b42eab6742b1c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_upgrade() { | |
echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first." | |
} | |
post_install() { | |
getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced | |
getent passwd nvidia-persistenced &>/dev/null || useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced | |
post_upgrade | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment