diff --git a/src/rules/90-usb-storage.rules b/src/rules/90-usb-storage.rules new file mode 100644 index 0000000..a86bab5 --- /dev/null +++ b/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}" \ No newline at end of file