xerox123
March 14th, 2011, 11:02 AM
I have written a udev rule.
RUN+=/.../.../example.sh
Now when i plug in a USB device this rule is run however, it also runs when i connect a dongle for WiFi. I only want this udev rule to run when i plug in any USB drive. Is there anyway i can specify that. Do i have to check this condition in the script?:confused:
RUN+=/.../.../example.sh
Now when i plug in a USB device this rule is run however, it also runs when i connect a dongle for WiFi. I only want this udev rule to run when i plug in any USB drive. Is there anyway i can specify that. Do i have to check this condition in the script?:confused: