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:
Beniamino Galvani
2025-01-15 16:26:24 +01:00
parent 774484eed6
commit d0330fb909
2 changed files with 2 additions and 4 deletions

View File

@@ -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_dhcp_clients_enabled = [ 'internal' ]
dhcp_summary = ''
foreach client : [ 'dhclient', 'dhcpcd' ]
foreach client : [ 'dhcpcd', 'dhclient' ]
client_path = get_option(client)
client_enable = (client_path != 'no')
if client_enable