re: Add a "physical" Smart Button To Your Next Project VIEW POST

FULL DISCUSSION
 

First shell script line supposed to be #!/bin/bash or #!/bin/sh?

Anyway, this looks like a really fun gadget. Wish I could make one myself (don't have the parts and, quite frankly, afraid I'll break them during assembly).

Thanks for sharing!

 

I'm inclined to believe that #!/bin/ash is correct. ash is the Almquist shell, which is often used in embedded systems because it's small and fast.

 

Ah didn't know that! Thanks! And that does make sense for this application.

code of conduct - report abuse