/usr/lib/initramfs-tools/etc/dhcp/dhclient-enter-hooks.d/config is in isc-dhcp-client 4.3.3-5ubuntu12.9.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
case "$reason" in
BOUND6)
echo "DEVICE6=$interface" > /run/net6-$interface.conf
echo "IPV6PROTO=dhcp6" >> /run/net6-$interface.conf
echo "IPV6ADDR=$new_ip6_address" >> /run/net6-$interface.conf
echo "IPV6NETMASK=$new_ip6_prefixlen" >> /run/net6-$interface.conf
echo "IPV6DNS0=$new_dhcp6_name_servers" >> /run/net6-$interface.conf
if [ -n "$new_dhcp6_domain_search" ]; then
echo "IPV6DOMAINSEARCH=$new_dhcp6_domain_search" >> /run/net6-$interface.conf
fi
;;
esac
|