summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml')
-rw-r--r--nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml b/nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml
index 0424642b978..035ee3122e1 100644
--- a/nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml
+++ b/nixos/doc/manual/from_md/configuration/ad-hoc-network-config.section.xml
@@ -1,9 +1,8 @@
 <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="ad-hoc-network-config">
   <title>Ad-Hoc Configuration</title>
   <para>
-    You can use
-    <link xlink:href="options.html#opt-networking.localCommands"><literal>networking.localCommands</literal></link>
-    to specify shell commands to be run at the end of
+    You can use <xref linkend="opt-networking.localCommands" /> to
+    specify shell commands to be run at the end of
     <literal>network-setup.service</literal>. This is useful for doing
     network configuration not covered by the existing NixOS modules. For
     instance, to statically configure an IPv6 address: