man: remove sentence about order of DHCP clients
The list describing the order of DHCP clients is confusing because it doesn't take into account what clients are disabled at build time. Instead, just show the available clients in the preferred order.
This commit is contained in:
@@ -174,9 +174,7 @@ plugins-=remove-me
|
|||||||
<para>The <literal>internal</literal> client is built-in, while other options
|
<para>The <literal>internal</literal> client is built-in, while other options
|
||||||
may require an external DHCP client to be installed.</para>
|
may require an external DHCP client to be installed.</para>
|
||||||
<para>If this key is missing, <literal>&NM_CONFIG_DEFAULT_MAIN_DHCP;</literal>
|
<para>If this key is missing, <literal>&NM_CONFIG_DEFAULT_MAIN_DHCP;</literal>
|
||||||
is used with a fallback to other suppored clients in this order:
|
is used with a fallback to other supported clients.</para></listitem>
|
||||||
<literal>internal</literal>, <literal>dhcpcd</literal>,
|
|
||||||
<literal>dhclient</literal>.</para></listitem>
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>no-auto-default</varname></term>
|
<term><varname>no-auto-default</varname></term>
|
||||||
|
@@ -633,7 +633,7 @@ config_dhcp_default = get_option('config_dhcp_default')
|
|||||||
config_h.set_quoted('NM_CONFIG_DEFAULT_MAIN_DHCP', config_dhcp_default)
|
config_h.set_quoted('NM_CONFIG_DEFAULT_MAIN_DHCP', config_dhcp_default)
|
||||||
config_dhcp_clients_enabled = [ 'internal' ]
|
config_dhcp_clients_enabled = [ 'internal' ]
|
||||||
dhcp_summary = ''
|
dhcp_summary = ''
|
||||||
foreach client : [ 'dhclient', 'dhcpcd' ]
|
foreach client : [ 'dhcpcd', 'dhclient' ]
|
||||||
client_path = get_option(client)
|
client_path = get_option(client)
|
||||||
client_enable = (client_path != 'no')
|
client_enable = (client_path != 'no')
|
||||||
if client_enable
|
if client_enable
|
||||||
|
Reference in New Issue
Block a user