summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-17 07:54:13 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-17 07:54:13 +0000
commit1742ed1e8bba15e0c148b84a5d788bd503e924d4 (patch)
tree0099eefa53d46f7e34797ad793d2ec02e411472c
parentad5e218a59c23ff444108d0e24643d590710b298 (diff)
downloaddrakx-1742ed1e8bba15e0c148b84a5d788bd503e924d4.tar
drakx-1742ed1e8bba15e0c148b84a5d788bd503e924d4.tar.gz
drakx-1742ed1e8bba15e0c148b84a5d788bd503e924d4.tar.bz2
drakx-1742ed1e8bba15e0c148b84a5d788bd503e924d4.tar.xz
drakx-1742ed1e8bba15e0c148b84a5d788bd503e924d4.zip
(configureNetwork2) write blank zeroconf hostname if zeroconf is
disabled, else drakconnect will assume it is enabled
-rw-r--r--perl-install/network/network.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 2962a8a83..b295ad3a0 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -449,7 +449,8 @@ sub configureNetwork2 {
} else {
#- disable zeroconf
require services;
- -f "/etc/rc.d/init.d/$_" and services::do_not_start_service_on_boot($_) foreach qw(tmdns zcip)
+ -f "/etc/rc.d/init.d/$_" and services::do_not_start_service_on_boot($_) foreach qw(tmdns zcip);
+ -f "$etc/tmdns.conf" and write_zeroconf("$etc/tmdns.conf", '');
}
any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %$intf and $in->do_pkgs->install('pump');
}