freebsd-skq/sbin/dhclient/Makefile.inc
Martin Blapp 636a538d15 Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
while the network cable is not plugged in.

To control the polling interval, the option -i has been
introduced. It takes seconds as parameter, the minimum is
one second, the default is five seconds.

Polling is done in seconds, not microseconds, because dhclient
does internally work with timeouts in seconds.

This change will be part of the next major ISC-dhcpd release.

Tested by:	bms, imp, and many many others.
Reviewed by:	murray, eivind, dhclient folks
2003-07-28 08:30:11 +00:00

49 lines
985 B
Makefile

# $FreeBSD$
MAINTAINER= murray
WARNS= 0
CFLAGS+= -I${DIST_DIR}/includes -DENABLE_POLLING_MODE
CLIENTBINDIR= /sbin
RUNDIR= /var/run
ETCDIR= /etc
DBDIR= /var/db
MANFILTER= sed -e 's|DBDIR|${DBDIR}|g' \
-e 's|ETCDIR|${ETCDIR}|g' \
-e 's|CLIENTBINDIR|${CLIENTBINDIR}|g' \
-e 's|RUNDIR|${RUNDIR}|g'
.if exists(${.OBJDIR}/../common)
LIBDHCP= ${.OBJDIR}/../common/libdhcp.a
.else
LIBDHCP= ${.CURDIR}/../common/libdhcp.a
.endif
.if exists(${.OBJDIR}/../minires)
LIBRES= ${.OBJDIR}/../minires/libres.a
.else
LIBRES= ${.CURDIR}/../minires/libres.a
.endif
.if exists(${.OBJDIR}/../omapip)
LIBOMAPI= ${.OBJDIR}/../omapip/libomapi.a
.else
LIBOMAPI= ${.CURDIR}/../omapip/libomapi.a
.endif
.if exists(${.OBJDIR}/../dst)
LIBDST= ${.OBJDIR}/../dst/libdst.a
.else
LIBDST= ${.CURDIR}/../dst/libdst.a
.endif
.if exists(${.OBJDIR}/../dhcpctl)
LIBDHCPCTL= ${.OBJDIR}/../dhcpctl/libdhcpctl.a
.else
LIBDHCPCTL= ${.CURDIR}/../dhcpctl/libdhcpctl.a
.endif
.include "../Makefile.inc"