summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-utils/nvidia-utils.install
blob: 1955c64d63e7500704e70d11f9206a58916cd488 (plain)
1
2
3
4
5
6
7
8
9
10
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
}