aboutsummaryrefslogtreecommitdiff
path: root/files/etc/devfs.rules.desktop
diff options
context:
space:
mode:
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)