The easiest is to have a script loop through polling the device list. Something like: #!/bin/sh ls 1wire/uncached > oldlist while : sleep 1 ls 1wire/uncached > newlist diff oldlist newlist | grep "^[<>]" > difflist # difflist process, perhaps with a simple perlscript mv oldlist newlist done
-----Original Message----- From: [EMAIL PROTECTED] on behalf of Stuart Poulton Sent: Wed 1/11/2006 2:46 AM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] New Device Notification Hi All, Is there any way to have OWFS launch an external program on the connection of a device to the OW Bus ? Regards Stuart -- Stuart Poulton <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
<<winmail.dat>>