blob: 5c4c1cfa36dda0ddd7afc13ac7ca9fe054586b71 (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_upgrade() {
echo ":: If CUDA is unavailable, run 'nvidia-modprobe'."
}
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
}
|