udev rules aimed for USB drives only
I have written a udev rule as follows:
Code:
RUN+=/.../.../example.sh |
As part of the rule you might specify:
Code:
SUBSYSTEMS=="usb" |
This might help:
Code:
ATTRS{product}=="Mass Storage Device" So a rule might include this to match only Mass Storage Devices. |
yea...dongle is also under usb subsystems...i will try and see...
|
All times are GMT -5. The time now is 03:21 PM. |