summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2023-06-24 09:19:09 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2023-06-24 11:30:18 +0100
commit69b30df9af481c62601aa3a42b965f9ffebc921d (patch)
tree36ac105c8cd3d170ee90cb2919f1dadcba498a06
parenteacd1e7672885cc0562ad0df1d9f142edbfb4afc (diff)
downloaddrakx-net-69b30df9af481c62601aa3a42b965f9ffebc921d.tar
drakx-net-69b30df9af481c62601aa3a42b965f9ffebc921d.tar.gz
drakx-net-69b30df9af481c62601aa3a42b965f9ffebc921d.tar.bz2
drakx-net-69b30df9af481c62601aa3a42b965f9ffebc921d.tar.xz
drakx-net-69b30df9af481c62601aa3a42b965f9ffebc921d.zip
Change default DHCP client to dhcpcd and remove dhclient (mga#30938)
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection/ethernet.pm4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c151476..35db870 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- change default DHCP client to dhcpcd and remove dhclient (mga#30938)
+
2.56
- translation updates
- fix XDG autostart .desktop file icon
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 0450149..47ff49b 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -7,7 +7,7 @@ use lib qw(/usr/lib/libDrakX); # helps perl_checker
use common;
use network::tools;
-our @dhcp_clients = qw(dhclient dhcpcd pump dhcpxd);
+our @dhcp_clients = qw(dhcpcd pump dhcpxd);
sub get_type_name() { N("Ethernet") }
sub get_type_description() { N("Wired (Ethernet)") }
@@ -318,7 +318,7 @@ use run_program;
sub install_dhcp_client {
my ($in, $client) = @_;
my %packages = (
- "dhclient" => "dhcp-client",
+ "dhcpcd" => "dhcpcd",
);
#- use default dhcp client if none is provided
$client ||= $dhcp_clients[0];