xref: /netbsd-src/external/bsd/dhcpcd/dist/hooks/01-test (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1# Echo the interface flags, reason and message options
2
3if [ "$reason" = "TEST" ]; then
4	set | grep \
5	    "^\(interface\|pid\|reason\|protocol\|profile\|skip_hooks\)=" | sort
6	set | grep "^if\(carrier\|flags\|mtu\|wireless\|ssid\)=" | sort
7	set | grep "^\(new_\|old_\|nd[0-9]*_\)" | sort
8	exit 0
9fi
10