View Single Post
Lord Awesome's Avatar
Posts: 47 | Thanked: 24 times | Joined on Nov 2009 @ Bolton, United Kingdom
#50
Originally Posted by stobbsc View Post
I copied the code above and added one more section so it look slike this:



and I get the following errors:
:not found N900finder.sh:line 2:

:not found N900finder.sh:line 3:
:not found N900finder.sh:line 7: syntax error: "fi" unexpected (expecting "then")

Please not this when I'm not expecting to find a device. perhaps thats why there is an error, could someone try my code please.
Your addition works for me. What editor are you using to create N900finder.sh?