Well, I set up your same structure on an ext4 format partition and it still worked fine....so I'm still at a loss.
Line 2 and Line 5 are blank lines in the script....how did you transfer the files to the router? Any chance you accidentally edited the files under windows and changed the file format from Linux to DOS/WINDOWS (end of line LF vs CR/LF)?
no, I will try to download the script another time (third time ) and run it. I will post results
thanks!