NetBSD/dist/dhcpcd/hook.d/01-test
joerg 8eeb8277e5 Import dhcpcd 4.0.0-beta5.
dhcpcd is a small DHCP client, supporting most, if not all, features of
dhclient.  It is much smaller (1/6 of the size on amd64), but still
supports many of the more advanced modern RFCs like IPv4LL (RFC 3927),
Classless Static Routes (RFC 3442) and Node-specific Client Identifiers
(RFC 4361).  It was written by Roy Marpled, partly in reply to the
discussion of the DHCP client Sommer of Code project.
2008-05-24 19:37:41 +00:00

7 lines
167 B
Plaintext

# Just echo our DHCP options we have
if [ "${reason}" = "TEST" ]; then
env | grep "^\(interface\|pid\|reason\|skip_hooks\)="
env | grep "^\(new_\|old_\)" | sort
fi