Good evening,

I successfullly build my own image containing the package I need and the files I want to create or replace.
everything works fine unti i tried to replace this file :

files/usr/lib/webif/webif.sh

the webif.sh i'm trying to put contains only little changes (as a try) and works fine if I copy it directly to the rooter's

but when building the image the browser gives me the following error :

/usr/lib/webif/webif.sh: 17:
: not found
.: 23: Can't open /usr/lib/webif/functions.sh


so I tried to do the same without changing webif.sh (but still put it in files/usr/lib/webif/webif.sh before compiling.)
and i still have the same error

putting it in another folder and then copying it at startup does the same error.

copying any webif.sh from windows usin winscp makes it work.

I also tried different right on file access but did not arrange anything.

If anyone can tell me what's wrong ?


thanks.