On Tue, 27 Aug 2002 00:55:14 +0200
Oskar Sandberg <oskar at freenetproject.org> wrote:

> On Mon, Aug 26, 2002 at 11:46:07PM +0100, Matthew Toseland wrote:
> > On Mon, Aug 26, 2002 at 03:40:56PM -0700, Ian Clarke wrote:
> > > My node refused to start because the ipAddress setting was
> > > prefixed with a '%' and it therefore couldn't determine what the
> > > node's IP address was. What is the idea behind this?
> > % is the same as # - it denotes a comment line. Just put the real IP
> > address in, and remove the % at the beginning of the line, or the
> > node won't work very well.
> 
> I'm pretty certain that ipAddress is not commented if it is set while
> running the nodes config procedure.

Yes, it is. I noticed that a while back, and promptly forgot. I think
that preconfig.sh is writing it, but then freenet.config.Setup is adding
a %... shouldn't the hostname option also have a special-cased
isInstallation ? or am I reading this wrong?

> 
> The meaning of the % symbol is in the comments at the beginning of the
> config file.

And it seems to be a generally annoying idea. I suppose that it's
supposed to handle the case where 1) the user didn't change from the
default, and 2) the default changed, so just bring them along... but...
it seems to me that there's got to be some better way to do it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020826/3f2ec30f/attachment.pgp>

Reply via email to