Welcome! Log In Create A New Profile

Advanced

can't execute install script (POGO-E02)

Posted by metanodotto 
metanodotto
can't execute install script (POGO-E02)
July 12, 2012 01:35AM
Hi!
i tried to install uBoot on a new pogoplug pink but, but get a syntax error when I run the script

-bash-3.2# killall hbwd
-bash-3.2# cd /tmp/
-bash-3.2# wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh
Connecting to jeff.doozan.com (50.116.34.13:80)
install_uboot_mtd0.s 100% |*******************************|  2252  --:--:-- ETA
-bash-3.2# chmod +x install_uboot_mtd0.sh
-bash-3.2# ./install_uboot_mtd0.sh
./install_uboot_mtd0.sh: line 1: syntax error near unexpected token `newline'
./install_uboot_mtd0.sh: line 1: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 S                                       trict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
-bash-3.2#

anyone have any idea on how to solve this problem?
Re: can't execute install script (POGO-E02)
July 12, 2012 05:19AM
metanodotto Wrote:
-------------------------------------------------------

> ./install_uboot_mtd0.sh: line 1: syntax error near
> unexpected token `newline'
> ./install_uboot_mtd0.sh: line 1: `<!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 S
> trict//EN"

Yes. You appear to be trying to execute source code for a web page. Looks like wget did download the script, but rather the web page source code. Check the script file size. Should be 18406. The file you downloaded is only 2252.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: