Bash script to start another script when USB is inserted?
Since "autorun" seems to be only made for Windows users, I was wondering how to make a script that invokes a script on my USB?
Basically-I insert my USB-which invokes the script and starts the other script.
Example-
I have DSL/Qemu on my USB-I want the qemu script to "autostart" when I insert the USB.
So how do I make a script that autostarts Qemu from USB??
Oh-also-both scripts need to be on my USB-so I can just insert the usb inot almost any PC and Qemu starts
Possible?
Last edited by linus72; 04-16-2009 at 04:56 AM.
|