dhclient.c: script_go() vs. priv_script_go()

Petar Bogdanovic petar at smokva.net
Tue Jul 1 17:23:07 UTC 2008


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


More information about the freebsd-net mailing list