First shell script line supposed to be #!/bin/bash or #!/bin/sh?
#!/bin/bash
#!/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.
#!/bin/ash
ash
Ah didn't know that! Thanks! And that does make sense for this application.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.