Jens-Uwe Mager schrieb am Fri, Dec 29, 2000 at 02:09:14AM +0100:
> 
> > Interesting would also be an automatic "unloading" of the module if
> > idle (no discovered devices for "n" seconds)
> 
> No idea with that one, though.

Why you don't just add:

TIME * * * *  rmmod -a || TIME * * * * rmmod irda

to your crontab? You don't use the module, so kick it. (this is not unloading
if there are no devices)

You could also write a Shell Script that reads out /proc/net/irda/discovery
and launch this from CRON. This should do what you want.

H. Ronsdorf
-- 
Microsoft is not the answer. Microsoft is the question. The answer is NO.
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to