aboutsummaryrefslogtreecommitdiff
path: root/files/etc/devfs.rules.desktop
blob: e614ab2e631d28ed0bc7c1619331e902638b0e8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
[${devfs_local_ruleset_name}=1000]
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)