dhcpcd-discuss

Re: about the dhcpcd-hooks

Roy Marples

Thu Apr 11 17:23:41 2013

Hi

On 09/04/2013 16:46, jayce lee wrote:
What's the function of the hook script in dhcpcd?

Why do we need these scripts, or without them can dhcpcd work normally?

Could you please take a script example to explain the purpose?

dhcpcd just address ip addresses and routes. ie stuff that talks straight to the kernel.
The hooks handle everything else such as managing resolv.conf(5).

So unless the default DNS setup works on your machine yes you need the scripts.

Thanks

Roy

References:
about the dhcpcd-hooksjayce lee
Archive administrator: postmaster@marples.name