[pkg-nvidia-devel] r728 - in /packages/nvidia-kernel-common/trunk: nvidia_helper nvidia_helper.ck

rdonald at users.alioth.debian.org rdonald at users.alioth.debian.org
Tue Feb 16 19:36:41 UTC 2010


Author: rdonald
Date: Tue Feb 16 19:36:38 2010
New Revision: 728

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=728
Log:
patch from Jean-Christophe Dubacq <jcdubacq1 at free.fr>

Added:
    packages/nvidia-kernel-common/trunk/nvidia_helper
    packages/nvidia-kernel-common/trunk/nvidia_helper.ck

Added: packages/nvidia-kernel-common/trunk/nvidia_helper
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/nvidia_helper?rev=728&op=file
==============================================================================
--- packages/nvidia-kernel-common/trunk/nvidia_helper (added)
+++ packages/nvidia-kernel-common/trunk/nvidia_helper Tue Feb 16 19:36:38 2010
@@ -1,0 +1,4 @@
+#!/bin/sh
+for i in /dev/nvidia*; do
+  /lib/udev/udev-acl "$1" "--device=$i"
+done

Added: packages/nvidia-kernel-common/trunk/nvidia_helper.ck
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/nvidia_helper.ck?rev=728&op=file
==============================================================================
--- packages/nvidia-kernel-common/trunk/nvidia_helper.ck (added)
+++ packages/nvidia-kernel-common/trunk/nvidia_helper.ck Tue Feb 16 19:36:38 2010
@@ -1,0 +1,6 @@
+#!/bin/sh
+[ -x /lib/udev/udev-acl ] || exit 0
+# This is enough to renew the device owners
+for i in /dev/nvidia*; do
+  /lib/udev/udev-acl "--action=change" "--device=$i"
+done




More information about the Pkg-nvidia-devel mailing list