]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
hooks: Remove 02-dump
authorRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 20:20:12 +0000 (21:20 +0100)
committerRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 20:20:12 +0000 (21:20 +0100)
As we now dump via the control socket, this is no longer needed.

hooks/02-dump [deleted file]
hooks/Makefile
hooks/dhcpcd-run-hooks.8.in

diff --git a/hooks/02-dump b/hooks/02-dump
deleted file mode 100644 (file)
index 0d515f7..0000000
+++ /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
index f805064b599ef4ab26589f42fe7ae450e6e9bc52..5cb7a16d214026662bcee2329db0b2f9f2dd495d 100644 (file)
@@ -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}
index c401afe8f12bd5ff69ffd41680e0b65c9bf4b475..a75eecfe62f77f50a0a5d536845a762069fabf3f 100644 (file)
@@ -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.