[BusyBox] udhcpd issues
Rainer Weikusat
rainer.weikusat at sncag.com
Sun Feb 6 21:06:20 UTC 2005
Jeff Sadowski <jeff_sadowski at yahoo.com> writes:
[...]
> but is there a way to write the
> leases file when a new lease is dished out and only
> when a new lease is dished out?
The easiest way to do so would be to remove the call to write_leases
from the handling of SIGUSR1 and from the timeout handling (my
copy of dhcpd.c is somewhat different from the stock busybox one, so I
cannot point you to the exact location in the source) and to instead
call it from add_lease.
More information about the busybox
mailing list