blob: c76fab5dbf55c7276c1844cf96bf109081359d55 [file] [log] [blame]
# Keep track of USB devices that should be allow-listed at the lock screen.
ACTION=="add", DRIVER=="usb", RUN+="/usr/sbin/usb_bouncer --fork udev add '%E{DEVPATH}'"
ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/sbin/usb_bouncer --fork udev remove '%E{DEVPATH}'"