Files location in DHCP 4.0.0

gagadget at free.fr gagadget at free.fr
Tue Apr 29 16:31:25 UTC 2008


Selon "Jeremy C. Reed" <Jeremy_Reed at isc.org>:

> > If I set manually the directories like that :
> > --prefix=$INSTALL_DIR --disable-dhcpv6 --sysconfdir=$INSTALL_DIR/etc
> > --localstatedir=$INSTALL_DIR/var
> >
> > dhcpd is still looking for dhcpd.conf in /etc ... no way to configure that
> at
> > compile time.
> >
> > Am I missing something ?
>
> As a workaround, set it in your includes/site.h. For example append:
>
> #define _PATH_DHCPD_CONF	"/path/to/dhcpd.conf"
>
>

I know this workaround but is there a chance it will be corrected in future
release and everything integrated in autotools ?

Thanks for the trick and fast answer.

Gael.


More information about the dhcp-users mailing list