File: nvidia_helper.ck

package info (click to toggle)
nvidia-support 20151021+9
  • links: PTS, VCS
  • area: contrib
  • in suites: buster, sid
  • size: 328 kB
  • sloc: sh: 184; makefile: 6
file content (6 lines) | stat: -rwxr-xr-x 174 bytes parent folder | download | duplicates (6)
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