summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-17 07:58:29 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-17 07:58:29 +0000
commit59ff44130e2a625e13161a75dd0e957c29197803 (patch)
tree5632687b48e4892fe0b6ca37bcdc3d427f0828e9
parent1742ed1e8bba15e0c148b84a5d788bd503e924d4 (diff)
downloaddrakx-backup-do-not-use-59ff44130e2a625e13161a75dd0e957c29197803.tar
drakx-backup-do-not-use-59ff44130e2a625e13161a75dd0e957c29197803.tar.gz
drakx-backup-do-not-use-59ff44130e2a625e13161a75dd0e957c29197803.tar.bz2
drakx-backup-do-not-use-59ff44130e2a625e13161a75dd0e957c29197803.tar.xz
drakx-backup-do-not-use-59ff44130e2a625e13161a75dd0e957c29197803.zip
(configureNetwork2) really enable zeroconf if zeroconf is requested
-rw-r--r--perl-install/network/network.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index b295ad3a0..48b9aa86e 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -445,7 +445,11 @@ sub configureNetwork2 {
if ($netc->{ZEROCONF_HOSTNAME}) {
$in->do_pkgs->ensure_binary_is_installed('tmdns', 'tmdns', 'auto') if !$in->do_pkgs->is_installed('bind');
$in->do_pkgs->ensure_binary_is_installed('zcip', 'zcip', 'auto');
- write_zeroconf("$etc/tmdns.conf", $netc->{ZEROCONF_HOSTNAME});
+ write_zeroconf("$etc/tmdns.conf", $netc->{ZEROCONF_HOSTNAME});
+ foreach (qw(tmdns zcip)) {
+ services::start_service_on_boot($_);
+ services::restart($_);
+ }
} else {
#- disable zeroconf
require services;