aboutsummaryrefslogtreecommitdiffstats
path: root/dhcpcd-hooks/02-dump
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd-hooks/02-dump')
-rw-r--r--dhcpcd-hooks/02-dump5
1 files changed, 5 insertions, 0 deletions
diff --git a/dhcpcd-hooks/02-dump b/dhcpcd-hooks/02-dump
new file mode 100644
index 0000000..cbb46ea
--- /dev/null
+++ b/dhcpcd-hooks/02-dump
@@ -0,0 +1,5 @@
+# Just echo our DHCP options we have
+
+if [ "$reason" = "DUMP" ]; then
+ set | sed -ne 's/^new_//p' | sort
+fi