diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-17 07:58:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-17 07:58:29 +0000 |
commit | 59ff44130e2a625e13161a75dd0e957c29197803 (patch) | |
tree | 5632687b48e4892fe0b6ca37bcdc3d427f0828e9 /perl-install/network | |
parent | 1742ed1e8bba15e0c148b84a5d788bd503e924d4 (diff) | |
download | drakx-59ff44130e2a625e13161a75dd0e957c29197803.tar drakx-59ff44130e2a625e13161a75dd0e957c29197803.tar.gz drakx-59ff44130e2a625e13161a75dd0e957c29197803.tar.bz2 drakx-59ff44130e2a625e13161a75dd0e957c29197803.tar.xz drakx-59ff44130e2a625e13161a75dd0e957c29197803.zip |
(configureNetwork2) really enable zeroconf if zeroconf is requested
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/network.pm | 6 |
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; |