Run script on USB thumb drive connection

Nils Kassube kassube at gmx.net
Mon Feb 16 22:47:32 UTC 2009


Dotan Cohen wrote:
> 2009/2/17 Bill Moseley <moseley at hank.org>:
> > What I want is to have the drive mounted like it normally is, then
> > run a script and then umount the drive.  And for a bonus pop-up a
> > window to DISPLAY 0:0 saying the rsync was complete.
>
> I've not tried it, but have the script wait a bit:
> sleep 10

Or let the script mount the drive.


Nils




More information about the ubuntu-users mailing list