]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: rules: fix camera comparison
authorDavid SantamarĂ­a Rogado <howl.nsp@gmail.com>
Thu, 12 Feb 2026 16:29:12 +0000 (17:29 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Feb 2026 20:11:27 +0000 (20:11 +0000)
actually that is intended to be a comparison

rules.d/70-camera.rules

index b87096ece0a8d088048fc6c0e32c25866ee5dcf3..d225c4f294cb31052eda2b9663b1806b7904d7f7 100644 (file)
@@ -2,7 +2,7 @@
 
 ACTION=="remove", GOTO="camera_end"
 
-SUBSYSTEM=="video4linux", ENV{ID_BUS}="usb", \
+SUBSYSTEM=="video4linux", ENV{ID_BUS}=="usb", \
   IMPORT{builtin}="hwdb 'camera:usb:v$env{ID_VENDOR_ID}p$env{ID_MODEL_ID}:name:$attr{name}:'", \
   GOTO="camera_end"