Has anyone succesfully used this script?
I’ve followed the instructions step by step and all seems well, but when I try to run the script I get:
I verified that /bin/bash does exist. Initially I thought it was a line return issue as I copied the text from the page into notepad, saved it as the openvpncmd.sh, scp’d it to IPFire, changed the permissions, then tried to run it, I got the error, so I deleted the first line, and hand typed it again, and it produces the same result.
I am not talented at scripting so I can’t see where the ^M is coming in (or why) right after /bin/bash. I must be missing something obvious, any thoughts?