summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Sent <richard@freakingpenguin.com>2024-06-17 20:49:12 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-06-24 08:50:45 -0400
commitb539e5ae3995b554cd5557274a4d95ba0618a3fd (patch)
treec24e2207be4515857051c7e280cb20f59704f02a /doc
parente92259e56f3230ccb5e9bae3419f5071f6e6c40a (diff)
downloadguix-patches-b539e5ae3995b554cd5557274a4d95ba0618a3fd.tar
guix-patches-b539e5ae3995b554cd5557274a4d95ba0618a3fd.tar.gz
services: networking: Allow dhcp-client to use a config file.
* gnu/services/networking.scm (dhcp-client-configuration) [config-file]: New field. (dhcp-client-configuration-config-file): New accessor. (dhcp-client-shepherd-service): Use the config file when invoking dhclient if supplied. * doc/guix.texi: Document it. Change-Id: I286de4ddf59c5e606bf1fe0a7510570869e62b1a Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 9bbf85e32b..c35e10d877 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -21035,6 +21035,9 @@ When set to @code{'all}, the DHCP client listens on all the available
non-loopback interfaces that can be activated. Otherwise the DHCP
client listens only on the specified interfaces.
+@item @code{config-file} (default: @code{#f})
+The configuration file for the DHCP client.
+
@item @code{shepherd-requirement} (default: @code{'()})
@itemx @code{shepherd-provision} (default: @code{'(networking)})
This option can be used to provide a list of symbols naming Shepherd services