Run clamav on usb stick insertion

Hakan Koseoglu hakan at koseoglu.org
Wed Sep 1 20:36:48 UTC 2010


> On 09/01/2010 12:29 PM, Francesco Bolzoni wrote:
>> As i must switch from my (ubuntu 10.04) system to others (windows) for
>> excange documents with usb stick (HardDrive too), I would like to have
>> clamav run automatically after usb insertion.
You might try setting up a rule on udev level. See /lib/udev/rules.d for 
some samples. You can clamav from the script you're going to call once 
the USB device is inserted. You can find more examples by a bit of googling.




More information about the ubuntu-users mailing list