[ previous ] [ next ] [ threads ]
 From:  Ganbold <ganbold at micom dot mng dot net>
 To:  "MyLists at fantasymail dot de" <MyLists at fantasymail dot de>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] m0n0image_v0.1.1.phps parse error
 Date:  Fri, 03 Sep 2004 14:27:32 +0900
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 



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
>Anyone is good with php here and know why it dont parse correctly?
>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