nvidia-driver-560/nvidia-graphics-drivers-560/debian/nvidia-persistenced-560.postinst
Ward from fusion-voyager-3 e55724271f initial push
2024-07-24 04:38:44 +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#