Does something like this inside dhclient-script work?
Code:
[ "$reason" = "BOUND" ] && echo $new_vendor_encapsulated_options $new_vivso $new_dhcp6.vendor_opts
Pay attention to the prefix new_ and underscores (
_) rather than dashes (
-) in the variable names. They must be defined on server with dashes and without the new_ prefix though.