[OM2008] USB events -> scripts?

Vasco Névoa vasco.nevoa at sapo.pt
Fri Dec 12 12:35:39 CET 2008


Hi all.

I want to run a script automatically every time the USB is plugged or  
unplugged.
Where should I hook in the scripts? /etc/apm/?/... or somewhere else?
I've looked into using the /etc/network/interfaces, but this doesn't  
work because usb0 does not get "downed" on unplug - so it is always  
"up" since booting...

Thanks,

Vasco.




More information about the community mailing list