On Thursday 17 April 2008 14:02:41 Stephen Borrill wrote:
Indeed, but that doesn't really answer my question about how one might
request and deal with custom options... I use such things with dhclient in
one of our embedded products.
dhcpcd can request any option it understands via commandline
dhcpcd -o smtp_server
or
dhcpcd -o 69
Before dhcpcd-4 final is done, we should be able to request options we don't
understand and just dump their contents as dhclient does.
As to dealing with it, well, dhcpcd.sh supports the same enter/exit hooks as
dhclient but also supports directories for each as well.