On Fri, December 12, 2008 12:35, Vasco Névoa wrote: > > Hi all. > > I want to run a script automatically every time the USB is plugged or > unplugged.
This is in the udev rules. See http://lists.openmoko.org/pipermail/community/2008-November/thread.html#35417 for ideas concerning keybaords and https://bugs.launchpad.net/ubuntu/+bug/289548 concerning networking. > 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. > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

