Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

hardcode configuration files path

1 view
Skip to first unread message

Dario Rizzoli

unread,
Jan 20, 2004, 11:56:45 AM1/20/04
to
I have compiled tinc under windows (MinGW), with the following
configuration:

./configure --with-openssl=/opt/openssl-0.9.7b/ --with-zlib=/opt/zlib-1.1.4/
--with-lzo=/opt/lzo-1.08 --prefix=/opt/tinc-1.0.1

It works but configuration files are hardcoded!

I've tryed also the --sysconfdir=/aaa parameter.

c:\>tincd -n pluto -K
Cannot open config file e:/msys/1.0/aaa/etc/tinc/pluto/tinc.conf: No
such file or directory
Generating 1024 bits keys:
..............++++++ p
......................++++++ q

I need to substitute the tincd.exe executable on several windows machines,
each machine has its own installation directory.
The tinc.exe binary that could be downloaded from the tinc web site use
relative path.

Can anyone help me

Thanks dario

Dario Rizzoli
Network & System Administrator
I.C.E. srl
Via Imparì inf. 7a
20040 Usmate Velate (MI)


--
TINC development list, tinc-...@nl.linux.org
Archive: http://mail.nl.linux.org/tinc-devel/


Guus Sliepen

unread,
Jan 20, 2004, 1:02:51 PM1/20/04
to
On Tue, Jan 20, 2004 at 05:56:45PM +0100, Dario Rizzoli wrote:

> I have compiled tinc under windows (MinGW), with the following
> configuration:
>
> ./configure --with-openssl=/opt/openssl-0.9.7b/ --with-zlib=/opt/zlib-1.1.4/
> --with-lzo=/opt/lzo-1.08 --prefix=/opt/tinc-1.0.1
>
> It works but configuration files are hardcoded!
>
> I've tryed also the --sysconfdir=/aaa parameter.

The --sysconfdir parameter should work. If you installed tinc using the
installer from our website, then if you replace it with your binary, it
will automatically start using the path were it was installed. If that
fails too, use the -c option (see man tincd).

--
Met vriendelijke groet / with kind regards,
Guus Sliepen <gu...@sliepen.eu.org>

signature.asc
0 new messages