2
0
nvidia-driver-template/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.postinst
Ward from fusion-voyager-3 316837caf1 Turn into template
2024-07-24 02:06:18 +03:00

12 lines
333 B
Bash

#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
if ! getent passwd nvpd >/dev/null; then
# Create ad-hoc system user/group
adduser --system --group --home /var/run/nvpd/ --gecos 'NVIDIA Persistence Daemon' --no-create-home nvpd
fi
fi
#DEBHELPER#