Browse Source

Add usb-storage rules

In this rule check usb connection
usb-socket
Mohammad_Faraji 6 months ago
parent
commit
0c1ecbc437
  1. 1
      src/rules/90-usb-storage.rules

1
src/rules/90-usb-storage.rules

@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", ENV{ID_FS_USAGE}=="filesystem", RUN+="/usr/bin/sudo /usr/local/bin/usb-storage-action %E{DEVNAME}"
Loading…
Cancel
Save