[patch] Out of the box NTP support (on FreeBSD)
Roderick van Domburg
r.s.a.vandomburg at student.utwente.nl
Tue Aug 5 10:13:35 UTC 2003
Kenneth Porter wrote:
> I wonder if there might be a way to make this sort of thing directory-based,
> similar to that used by xinetd or logrotate? For instance, the ntp package
> could provide files defining the options it's interested in and a script to
> run with the result, to be placed in /etc/dhcp/client or similar. This would
> allow other services to register interest in DHCP options without requiring
> hacking of files "owned" by the DHCP packages. This also moves knowledge of
> other services' config files out of the DHCP packages.
Hmm, that does seem to be a good idea. Basically, every interested
service could provide it's own "dhclient.conf" look-a-like requesting
the relevant options. Unlike the /etc/dhclient.conf however, their
behavior would be to add up all the requested options instead of
overriding them.
I don't suppose this would be hard to implement in either dhclient or
the relevant services. dhclient already has most of the necessary code
to parse such files. The services could simply supply such a file with
their install Makefile target.
Regards,
Roderick
More information about the dhcp-hackers
mailing list