[ previous ] [ next ] [ threads ]
 From:  "MyLists at fantasymail dot de" <MyLists at fantasymail dot de>
 To:  Ganbold <ganbold at micom dot mng dot net>
 Cc:  m0n0wall at lists dot m0n0 dot ch, iedemam at pluto dot dsu dot edu, "Mitch (WebCob)" <mitch at webcob dot com>
 Subject:  Re: [m0n0wall] m0n0image_v0.1.1.phps parse error
 Date:  Fri, 03 Sep 2004 16:31:25 +0200
Hi Ganbold,

I tryed to replace the lines that you sayed here but i still get the same
parse error. Its strange i cant see any "error" - i  used "touch" to 
the file - copy from my browser the php code and used ssh ... edited that
emtpy file with "ee" and pasted the php code in. If i edit that file it 
all fine for me. wget or lynx that file directly dont work (it get currupted
with html code). Maybe anyone can make a tar ball that i can wget from
a url please? I cant "see" anything why that not work. It just drive me 
crazy o)


Note: A copy is mailed to the guy who published that script.


Ganbold schrieb:

> In the m0n0image.php source change following:
> ...
>   "dd if=/dev/zero of=tmp/mfsroot.bin bs=1k count=12288 2>/dev/null" 
> ---- Take out 2>/dev/null
> ...
>   "dd if=/dev/zero of=tmp/$directory.bin bs=1k count=6144 2>/dev/null" 
> ---- Take out 2>/dev/null
> ...
>   "disklabel -BR vn0 label.proto" --- Change this line to "disklabel 
> -b $directory/boot/boot1 -s $directory/boot/boot2 -BR vn0 label.proto" 
> As Fred suggested.
> hth,
> Ganbold
> At 07:29 AM 03.09.2004, you wrote:
>> Hello - i used the php script to unzip the monowall img file
>> from http://michael-i.com/files/projects/m0n0image/m0n0image_v0.1.1.phps
>> but if i try to run it i get the following error.
>> root# ./monoimg.php -x generic-pc-1.1.img
>> Parse error: parse error, unexpected $ in /usr/src/test/monoimg.php 
>> on line 172
>> root#
>> Anyone is good with php here and know why it dont parse correctly?
>> Regards,
>> Stefan
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
>> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch