From: Roy Marples Date: Mon, 30 Mar 2020 20:20:12 +0000 (+0100) Subject: hooks: Remove 02-dump X-Git-Tag: v9.0.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d59f813c2935dd6a6f6332300590993537a38c66;p=thirdparty%2Fdhcpcd.git hooks: Remove 02-dump As we now dump via the control socket, this is no longer needed. --- 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.