View Single Post
Posts: 40 | Thanked: 4 times | Joined on Mar 2008
#83
Originally Posted by GameboyRMH View Post
You need to use Unix encoding (with ANSI characters, to be safe). Notepad++ can do this, or if you make the file on your N900 it should be saved with Unix encoding. I'm 99.9% sure this script should work fine but I haven't tested it on Fremantle so I can't be totally certain.

Edit: just found a problem with the code. Working to fix.

Update: Fixed.
I tried your script but there are some problems: mind that N900 doesn't have bash but another shell (ash): so synthax is possibly different from a bash script and "#! /bin/bash" should be replaced with "#! /bin/sh".

I replaced the first line so I could run the script but I get error on line 4: "(" expected.
So I really believe synthax is not the same....

Thanks for your effort!

Last edited by famusc; 2010-01-15 at 12:25.