From e1229bca25d62cd3beb1fc27e348cb8c8e12f15e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 26 Feb 2023 21:15:45 +0100 Subject: T4497: add info about dhcp enter/exit hooks --- docs/_include/interface-address-with-dhcp.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/_include/interface-address-with-dhcp.txt b/docs/_include/interface-address-with-dhcp.txt index de51a887..d454d051 100644 --- a/docs/_include/interface-address-with-dhcp.txt +++ b/docs/_include/interface-address-with-dhcp.txt @@ -11,6 +11,14 @@ * **dhcpv6** interface address is received by DHCPv6 from a DHCPv6 server on this segment. + .. note:: When using DHCP to retrieve IPv4 address and if local + customizations are needed, they should be possible using the enter and + exit hooks provided. The hook dirs are: + + * ``/config/scripts/dhcp-client/pre-hooks.d/`` + * ``/config/scripts/dhcp-client/post-hooks.d/`` + + Example: .. code-block:: none -- cgit v1.2.3