summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-03-30 21:20:12 +0100
committerRoy Marples <roy@marples.name>2020-03-30 21:20:12 +0100
commit4382ac0601186d0d1893bffa2e347fcc0e8f8b84 (patch)
tree922f76558da7529f28e9fc47e0bf554dd32d0590 /hooks
parent1d8e8631a4eb9bac73e81fc72df285f9743d7a55 (diff)
downloaddhcpcd-4382ac0601186d0d1893bffa2e347fcc0e8f8b84.tar.xz
hooks: Remove 02-dump
As we now dump via the control socket, this is no longer needed.
Diffstat (limited to 'hooks')
-rw-r--r--hooks/02-dump8
-rw-r--r--hooks/Makefile2
-rw-r--r--hooks/dhcpcd-run-hooks.8.in4
3 files changed, 2 insertions, 12 deletions
diff --git a/hooks/02-dump b/hooks/02-dump
deleted file mode 100644
index 0d515f78..00000000
--- a/hooks/02-dump
+++ /dev/null
@@ -1,8 +0,0 @@
-# Just echo our DHCP options we have
-
-case "$reason" in
-DUMP|DUMP6)
- set | sed -ne 's/^new_//p' | sort
- exit 0
- ;;
-esac
diff --git a/hooks/Makefile b/hooks/Makefile
index f805064b..5cb7a16d 100644
--- a/hooks/Makefile
+++ b/hooks/Makefile
@@ -8,7 +8,7 @@ MAN8= dhcpcd-run-hooks.8
CLEANFILES+= dhcpcd-run-hooks.8
SCRIPTSDIR= ${HOOKDIR}
-SCRIPTS= 01-test 02-dump
+SCRIPTS= 01-test
SCRIPTS+= 20-resolv.conf
SCRIPTS+= 30-hostname
SCRIPTS+= ${HOOKSCRIPTS}
diff --git a/hooks/dhcpcd-run-hooks.8.in b/hooks/dhcpcd-run-hooks.8.in
index c401afe8..a75eecfe 100644
--- a/hooks/dhcpcd-run-hooks.8.in
+++ b/hooks/dhcpcd-run-hooks.8.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 21, 2020
+.Dd April 3, 2020
.Dt DHCPCD-RUN-HOOKS 8
.Os
.Sh NAME
@@ -136,8 +136,6 @@ dhcpcd failed to operate on the interface.
This normally happens when dhcpcd does not support the raw interface, which
means it cannot work as a DHCP or ZeroConf client.
Static configuration and DHCP INFORM is still allowed.
-.It Dv DUMP
-dhcpcd has been asked to dump the last lease for the interface.
.It Dv TEST
dhcpcd received an OFFER from a DHCP server but will not configure the
interface.