Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2008 19:23:04 +0200
From:      Petar Bogdanovic <petar@smokva.net>
To:        freebsd-net@freebsd.org
Subject:   dhclient.c: script_go() vs. priv_script_go()
Message-ID:  <20080701172304.GA17817@pintail.smokva.net>

next in thread | raw e-mail | index | archive | help
Hi,

it's probably because I don't understand the code but may I ask what
script_go() is supposed to do? The only function in dhclient.c using
execve() is priv_script_go() and this gets executed only once in main()
with $reason = PREINIT.

That's why I looked at the code in the first place: I can't make
dhclient run dhclient-script with anything else than PREINIT. I would
expect at least one additional run with i.e. $reason = BOUND.


Thanks for the enlightenment,

Petar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080701172304.GA17817>