diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-18 17:17:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-18 17:17:40 +0000 |
commit | 89883d9d9b1a8fc8622744b33103c466a6670f76 (patch) | |
tree | 031e0ff097b1d17612ec5744ccb11ed411bdaeb3 | |
parent | 89d254e5463efe48f39f68be171a5fe83ffe3422 (diff) | |
download | drakx-89883d9d9b1a8fc8622744b33103c466a6670f76.tar drakx-89883d9d9b1a8fc8622744b33103c466a6670f76.tar.gz drakx-89883d9d9b1a8fc8622744b33103c466a6670f76.tar.bz2 drakx-89883d9d9b1a8fc8622744b33103c466a6670f76.tar.xz drakx-89883d9d9b1a8fc8622744b33103c466a6670f76.zip |
fix "network needs to be restarted" step
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index c1083dc94..c467d7c90 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -574,7 +574,7 @@ killall pppd 'speedtouch' => [ 'speedtouch', '/usr/share/speedtouch/speedtouch.sh' ], ); return 'adsl_unsupported_eci' if $ntf_name eq 'eci'; - $netconnect::need_restart_network = member($ntf_name, qw(speedtouch eci)); + $need_restart_network = member($ntf_name, qw(speedtouch eci)); $in->do_pkgs->install($packages{$ntf_name}->[0]) if $packages{$ntf_name} && !-e $packages{$ntf_name}->[1]; if ($ntf_name eq 'speedtouch' && ! -r '$::prefix/usr/share/speedtouch/mgmt.o' && !$::testing) { $in->do_pkgs->what_provides("speedtouch_mgmt") and @@ -1084,7 +1084,7 @@ N("Last but not least you can also type in your DNS server IP addresses."), network::network::configureNetwork2($in, $::prefix, $netc, $intf); $network_configured = 1; - return "restart" if $netconnect::need_restart_network && $::isStandalone && !$::expert; + return "restart" if $need_restart_network && $::isStandalone && !$::expert; return $offer_to_connect->(); }, }, |