man: Convert network-dhcp(8) to asciidoc
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Sep 2018 19:46:49 +0000 (21:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 12:47:04 +0000 (14:47 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
man/network-dhcp.txt [new file with mode: 0644]
man/network-dhcp.xml [deleted file]

diff --git a/man/network-dhcp.txt b/man/network-dhcp.txt
new file mode 100644 (file)
index 0000000..a448619
--- /dev/null
@@ -0,0 +1,44 @@
+network(8)
+==========
+
+NAME
+----
+network-dhcp - Controls the DHCP Server
+
+SYNOPSIS
+--------
+[verse]
+'network dhcpv6' <command> ...
+'network dhcpv4' <command> ...
+
+DESCRIPTION
+-----------
+With help of the DHCP commands it is possible to configure DHCP
+servers for IPv6 and IPv4.
+
+COMMANDS
+--------
+The following commands are understood:
+
+'start'::
+       Starts the DHCP server.
+
+'stop'::
+       Stops the DHCP server.
+
+'restart'::
+       Restarts the DHCP server.
+
+'reload'::
+       Reload the DHCP server configuration.
+
+'subnet ...'::
+       TODO
+
+AUTHORS
+-------
+Michael Tremer
+
+SEE ALSO
+--------
+link:network[8]
diff --git a/man/network-dhcp.xml b/man/network-dhcp.xml
deleted file mode 100644 (file)
index cc081bb..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
-       "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-
-<refentry id="network-dhcp">
-       <refentryinfo>
-               <title>network-dhcp</title>
-               <productname>network</productname>
-
-               <authorgroup>
-                       <author>
-                               <contrib>Developer</contrib>
-                               <firstname>Michael</firstname>
-                               <surname>Tremer</surname>
-                               <email>michael.tremer@ipfire.org</email>
-                       </author>
-               </authorgroup>
-       </refentryinfo>
-
-       <refmeta>
-               <refentrytitle>network-dhcp</refentrytitle>
-               <manvolnum>8</manvolnum>
-       </refmeta>
-
-       <refnamediv>
-               <refname>network-dhcp</refname>
-               <refpurpose>Network Configuration Control Program</refpurpose>
-       </refnamediv>
-
-       <refsynopsisdiv>
-               <cmdsynopsis>
-                       <command>network <arg choice="plain">[dhcpv6|dhcpv4]</arg> <arg choice="plain">command</arg> ...</command>
-               </cmdsynopsis>
-       </refsynopsisdiv>
-
-       <refsect1>
-               <title>Description</title>
-
-               <para>
-                       With help of the <command>dhcp</command> commands it is possible to
-                       configure DHCP servers for IPv6 and IPv4.
-               </para>
-       </refsect1>
-
-       <refsect1>
-               <title>Commands</title>
-
-               <para>
-                       The following commands are understood:
-               </para>
-
-               <variablelist>
-                       <varlistentry>
-                               <term>
-                                       <command>start</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Starts the DHCP service.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <command>stop</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Stops the DHCP service.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <command>restart</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Restarts the DHCP service immediately.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <command>reload</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Reload the DHCP service configuration.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <command>show</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Shows the DHCP configuration.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <command>subnet ...</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Use this command to manage subnets.
-                                               See <citerefentry>
-                                                       <refentrytitle>network-dhcp-subnet</refentrytitle>
-                                                       <manvolnum>8</manvolnum>
-                                               </citerefentry> for details.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-               </variablelist>
-       </refsect1>
-
-       <refsect1>
-               <title>See Also</title>
-
-               <para>
-                       <citerefentry>
-                               <refentrytitle>network</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>,
-                       <citerefentry>
-                               <refentrytitle>network-dhcp-subnet</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>
-               </para>
-       </refsect1>
-</refentry>