man: improve NM-dispatcher man page

(cherry picked from commit abf41bc282)
This commit is contained in:
Beniamino Galvani 2023-10-03 11:10:35 +02:00
parent 719fa27202
commit 2e9539ba05

View file

@ -59,9 +59,9 @@
device an operation just happened on, and second the action. For device actions,
the interface is the name of the kernel interface suitable for IP configuration.
Thus it is either VPN_IP_IFACE, DEVICE_IP_IFACE, or DEVICE_IFACE, as applicable.
For the <varname>hostname</varname> action the device name is always <literal>"none"</literal>.
For <varname>connectivity-change</varname> it is empty.
For <varname>dns-change</varname> it is empty.
For the <varname>hostname</varname> action the device name is always
<literal>"none"</literal>. For <varname>connectivity-change</varname> and
<varname>dns-change</varname> it is empty.
</para>
<para>The actions are:</para>
<variablelist class="dispatcher-options">
@ -169,7 +169,7 @@
NetworkManager is configured to not manage resolv.conf (for example,
via dns=none). In such case, the dispatch script can discover the
DNS configuration provided by currently active connections by
looking at file /run/NetworkManager/resolv.conf
looking at file <filename>/run/NetworkManager/resolv.conf</filename>
</para></listitem>
</varlistentry>
</variablelist>