11 lines
396 B
Text
11 lines
396 B
Text
|
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
|
||
|
}
|