I have a Gumstix Overo Fire with a Linux 3.0.0 kernel and the mass storage gadget module installed. It is set up to run as an On-The-Go device.

I would like to have a script run on the Gumstix every time I plug it in to a host. Is there a way to do that automatically without having the Gumstix connected to a console like minicom?

Thanks!