commit f157a9e1b75320f0ac55208f89b1cf09b10be948
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Aug 27 13:15:47 2017 +0100
Ensure the correct selinux context it set
60-nvidia.rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/60-nvidia.rules b/60-nvidia.rules
index 909b2af..429e532 100644
--- a/60-nvidia.rules
+++ b/60-nvidia.rules
@@ -1,3 +1,3 @@
-KERNEL=="nvidia", RUN+="/usr/bin/bash -c '/usr/bin/mknod -m 666
/dev/nvidiactl c 195 255'"
-KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $(cat
/proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/mknod
-m 666 /dev/nvidia${i} c 195 ${i}; done'"
-KERNEL=="nvidia_modeset", RUN+="/usr/bin/bash -c '/usr/bin/mknod -m
666 /dev/nvidia-modeset c 195 254'"
+KERNEL=="nvidia", RUN+="/usr/bin/bash -c '/usr/bin/mknod -Z -m 666
/dev/nvidiactl c 195 255'"
+KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $(cat
/proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/mknod
-Z -m 666 /dev/nvidia${i} c 195 ${i}; done'"
+KERNEL=="nvidia_modeset", RUN+="/usr/bin/bash -c '/usr/bin/mknod -Z -m
666 /dev/nvidia-modeset c 195 254'"
Show replies by date