I have a bash script that is on a flash drive that I would like to run automatically when the flash drive is connected to my Pi.

I've seen instructions on how to do it in Ubuntu, but I can't find the system settings that it uses on the Pi, see How to autorun files and scripts in Ubuntu when inserting a USB stick like autorun.inf in Windows?

How can I do this?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.