Files location in DHCP 4.0.0
Jeremy C. Reed
Jeremy_Reed at isc.org
Tue Apr 29 15:29:34 UTC 2008
> 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"
More information about the dhcp-users
mailing list