Should the entire environment passed to dhclient be available to dhclient-script?
Ted Lemon
mellon at fugue.com
Wed Sep 14 15:44:12 UTC 2005
On Sep 14, 2005, at 4:52 AM, Andrew Pollock wrote:
> Bug or feature?
Feature. dhclient builds its own environment before invoking any
scripts, so as to avoid the possibility of passing random goo to the
client script. If you want to add something to the script
environment, use the -e flag: dhclient ... -e IF_METRIC=1, for example.
I see that this is not mentioned in the man page. Sigh. This
would be my fault, not David's. :'(
More information about the dhcp-hackers
mailing list