--- On Tue, 3/17/09, Holden Hao <[email protected]> wrote: From: Holden Hao <[email protected]> Subject: Re: [plug] Antivirus-for-Windows Linux programs (was: AntiVirus for Linux with real time scanning, reporting) To: "Philippine Linux Users' Group (PLUG) Technical Discussion List" <[email protected]> Date: Tuesday, March 17, 2009, 4:38 PM
On Tue, Mar 17, 2009 at 4:10 PM, plug bert <[email protected]> wrote: Hello All, i fiddled around with udev rules this afternoon...added the ff rule: KERNEL=="sda1", ACTION=="add", RUN+="/tmp/avscan.sh /media/%k " You might want to trigger the script upon detection of the kernel driver used in loading flash disk instead. i've verified that avgscan gets exeuted whenever i plug in a usb drive...but for some reason i didn't get the info boxes that zenity was supposed to generate. Any ideas? I think it is related to an X permission problem. For a quick hack type "xhost +" and trigger the script again. Holden _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

