dhcpcd-discuss

Re: Which vars are available in the hook scripts?

Roy Marples

Tue Sep 30 09:08:29 2008

Hi Laurento

On Tue, 30 Sep 2008 10:26:40 +0200, Laurento Frittella
<laurento.frittella@xxxxxxxxx> wrote:
> I'm moving my dhcpcd.sh script to the new (version 4) splitted hook
> scripts. With the old .info file I can read the available vars but the
> new .lease file seems to be binary. For example I'm using DNSDOMAIN var
> but it seems unavailable now.
> 
> Where I can find a list of the vars one can use in his hook script?

You can use the command `dhcpcd -V` to display a list of DHCP option codes
and the associated variable for use in scripts or option requests.

> PS: wow the first message of the ml ;)

Well, someone had to be :)

Thanks

Roy


References:
Which vars are available in the hook scripts?Laurento Frittella
Archive administrator: postmaster@marples.name