Thread: PAN & Os2008
View Single Post
Posts: 9 | Thanked: 0 times | Joined on Jan 2008
#57
Originally Posted by pycage View Post
You cannot execute programs from the memory cards. You can however do
Code:
sh /media/mmc1/pan_start.sh
or copy pan-start.sh to the root filesystem, e.g. into /home/user.
Thanks for the help. However,

If I try the 1st command:
sh/media/mmc1/pan_start.sh

what happens is the script runs but says:
/media/mmc1/pan_start.sh: line 105: syntax error: word unexpected (expecting "in")

I compared the scipt to the other scripts in this forum and line 105 is blank

If I try moving the script to /home/user and I 1st ls and the file is indeed there. I chmod a+x pan_start.sh and run the script, an error occurs and says pan_start.sh file not found.

Can you tell me what I'm doing wrong? Thanks.