News for hackers. Stuff that matters.
Re:Ask HN: What are the things that you have automated in yo... by brokenmachine on Monday June 25, 2018 @01:19AM (#17390045)
Can you share how you do the SD card thing?

I'm not sure how to autorun when an SD card is inserted (using ubuntu here).

Re:Ask HN: What are the things that you have automated in yo... by EdCoffey on Monday June 25, 2018 @08:37AM (#17391872)
I used udev to run the script as soon as the drive is mounted. The tricky part was ensuring the drive would mount automatically when inserted, even if I wasn't logged in. I tried a range of different tools, and eventually settled on autofs.
Re:Ask HN: What are the things that you have automated in yo... by icebraining on Monday June 25, 2018 @04:32AM (#17390823)