summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 8bf1149da..49f79fb89 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -474,6 +474,7 @@ sub read_all_conf {
}
$netcnx->{type} or probe_netcnx_type($prefix, $netc, $intf, $netcnx);
}
+
sub probe_netcnx_type {
my ($prefix, $_netc, $intf, $netcnx) = @_;
#- try to probe $netcnx->{type} which is used almost everywhere.
@@ -546,7 +547,8 @@ sub configureNetwork2 {
add2hosts("$etc/hosts", "localhost", "127.0.0.1");
any { $_->{BOOTPROTO} eq "dhcp" } values %$intf and $in->do_pkgs->install($netc->{dhcp_client} || 'dhcp-client');
- $in->do_pkgs->install(qw(zcip tmdns));
+ $in->do_pkgs->install(qw(tmdns)) if !$in->do_pkgs->is_installed('bind');
+ $in->do_pkgs->install(qw(zcip));
$netc->{ZEROCONF_HOSTNAME} and write_zeroconf("$etc/tmdns.conf", $netc->{ZEROCONF_HOSTNAME});
any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %$intf and $in->do_pkgs->install('pump');