DEV Community

Discussion on: Add a "physical" Smart Button To Your Next Project

Collapse
 
jsn1nj4 profile image
Elliot Derhay

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!

Collapse
 
tpenguinltg profile image
tPenguinLTG

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.

Collapse
 
jsn1nj4 profile image
Elliot Derhay

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