File: nvidia_helper.ck

package info (click to toggle)
nvidia-kernel-common 20100522+1
  • links: PTS
  • area: contrib
  • in suites: squeeze
  • size: 76 kB
  • ctags: 1
  • sloc: sh: 103; makefile: 7
file content (6 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (8)
1
2
3
4
5
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