udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / rules.d / 70-camera.rules
blobb87096ece0a8d088048fc6c0e32c25866ee5dcf3
1 # do not edit this file, it will be overwritten on update
3 ACTION=="remove", GOTO="camera_end"
5 SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb", \
6   IMPORT{builtin}="hwdb 'camera:usb:v$env{ID_VENDOR_ID}p$env{ID_MODEL_ID}:name:$attr{name}:'", \
7   GOTO="camera_end"
9 LABEL="camera_end"