aboutsummaryrefslogtreecommitdiffstats
path: root/dhcpcd-hooks/01-test
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd-hooks/01-test')
-rw-r--r--dhcpcd-hooks/01-test7
1 files changed, 7 insertions, 0 deletions
diff --git a/dhcpcd-hooks/01-test b/dhcpcd-hooks/01-test
new file mode 100644
index 0000000..d3ca40d
--- /dev/null
+++ b/dhcpcd-hooks/01-test
@@ -0,0 +1,7 @@
+# Just echo our DHCP options we have
+
+case ${reason} in
+TEST) set | grep "^\(interface\|metric\|pid\|reason\|skip_hooks\)=" | sort
+ set | grep "^\(new_\|old_\)" | sort
+ ;;
+esac