dhcpcd-discuss

Re: dhcpcd 5 info files? Removed?

Roy Marples

Thu Jul 23 14:47:54 2009

On Thursday 23 July 2009 15:39:55 Nikolay Dvoeglazov wrote:
> Just updated dhcpcd to version 5 and found out that dhcpcd-$interface.info
> files which appeared in /var/lib by default have disappeared. Man page
> doesn't provide any information on how to enable them.

No they are not used by default anymore. Instead similar parameters are passed 
to a script at a greater frequency that you can hook into. man dhcpcd-run-
hooks for details. The system default hooks are installed to /libexec/dhcpcd-
hooks or /lib/dhcpcd/dhcpcd-hooks depending on how the distro has packaged it.

> Has this functionality been removed from dhcpcd? It would be a bad thing
> because it was very easy to grep the needed parameters out of them and I've
> used them extensively in my scripts.

There is a 50-dhcpcd-compat hook, but it is not installed by default.

Thanks

Roy


References:
dhcpcd 5 info files? Removed?Nikolay Dvoeglazov
Archive administrator: postmaster@marples.name