diff options
author | Alexey Abramov <levenson@mmer.org> | 2023-07-25 12:59:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-17 15:31:03 +0200 |
commit | 04f71edb73205d0bb82404de28a70ae17b897429 (patch) | |
tree | 776650e6219794fcf4fb715a8f1d3d4dafab5b23 /doc | |
parent | 944c1b62a1b36d6383b8e902f1a4abbee0165e34 (diff) |
services: dhcp-client-configuration: Allow provision override.
* gnu/services/networking.scm (<dhcp-client-configuration>)[shepherd-provision]:
New field.
(dhcp-client-shepherd-service): Honor it.
* doc/guix.texi (Networking Setup): Document it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 46cc8e1b80..983b471fd8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -20461,10 +20461,16 @@ non-loopback interfaces that can be activated. Otherwise the DHCP client listens only on the specified interfaces. @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 that this service will depend on, such as @code{'wpa-supplicant} or @code{'iwd} if you require authenticated access for encrypted WiFi or Ethernet networks. + +Likewise, @code{shepherd-provision} is a list of Shepherd service names +(symbols) provided by this service. You might want to change the +default value if you intend to run several DHCP clients, only one of +which provides the @code{networking} Shepherd service. @end table @end deftp |