Please remove ^M symbol in each string of a script
What steps will reproduce the problem?
1.Calling script /cgi-bin/webif/system-ipkg.sh
2.
3.
What is the expected output? What do you see instead?
Script is improperly interpreting due to '^M' at the end of each string in a
script.
Script is not executing due to '^M' symbol at the end of each string.
What version of the product are you using? On what operating system and web
browser?
OpenWrt Backfire 10.03.1-RC6
Host: OpenWrt
Problem solving by editing file system-ipkg.sh and removing '^M' or running
shell code
cat system-ipkg.sh|sed 's/\r//g' > system-ipkg.sh.new
mv system-ipkg.sh.new system-ipkg.sh
Original issue reported on code.google.com by pavel.ch...@gmail.com on 29 Mar 2012 at 2:17
Original issue reported on code.google.com by
pavel.ch...@gmail.com
on 29 Mar 2012 at 2:17