From 67e84ac421c50610bb6635b028d38a4d2ec455dd Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Fri, 9 Jun 2023 02:44:48 +0100 Subject: system/nvidia-legacy470-driver: Fix nvidia-persistenced. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'system/nvidia-legacy470-driver') diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild index e8e21e9f35a8a..f08d001b3bc2b 100644 --- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild +++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild @@ -313,6 +313,7 @@ if [ "${PERSISTENCED:-no}" = "yes" ]; then # install rc.nvidia-perstistenced: mkdir -p $PKG/etc/rc.d $PKG/var/run/nvidia-persistenced install -m 755 $CWD/rc.nvidia-persistenced $PKG/etc/rc.d/rc.nvidia-persistenced + sed -i "s|__USER__|nvidia|" $PKG/etc/rc.d/rc.nvidia-persistenced chown nvidia:nvidia $PKG/var/run/nvidia-persistenced fi -- cgit v1.2.3