8 lines
175 B
Plaintext
Raw Normal View History

2024-10-22 17:05:20 +02:00
#!/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