aboutsummaryrefslogtreecommitdiff
path: root/files/etc/devfs.rules.desktop
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-05 21:59:12 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-05 21:59:12 -0500
commit245d54a012381fbb5b8e38a18415a67d3911d8ef (patch)
treebe3331cc847f221f51fefae5d6e7a7e38e7eed31 /files/etc/devfs.rules.desktop
parent52e82728c1275ec7de57aa5b1dd3b3740fd2b264 (diff)
downloadinfrastructure-245d54a012381fbb5b8e38a18415a67d3911d8ef.tar.gz
more desktop fixes
Diffstat (limited to 'files/etc/devfs.rules.desktop')
-rw-r--r--files/etc/devfs.rules.desktop5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/devfs.rules.desktop b/files/etc/devfs.rules.desktop
index ec38210..e614ab2 100644
--- a/files/etc/devfs.rules.desktop
+++ b/files/etc/devfs.rules.desktop
@@ -3,3 +3,8 @@ add path 'drm/*' mode 0660 group ${desktop_access_role}
add path 'backlight/*' mode 0660 group ${desktop_access_role}
add path 'video*' mode 0660 group ${desktop_access_role}
add path 'usb/*' mode 0660 group ${desktop_access_role}
+add path 'xpt*' mode 0660 group ${desktop_access_role}
+add path 'cd*' mode 0660 group ${desktop_access_role}
+$(if [ -n "${desktop_rw_devices:-}" ]; then
+printf "add path '%s' mode 0660 group ${desktop_access_role}\n" $desktop_rw_devices
+fi)