summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-15 01:00:16 +0000
committerdamien <damien@mandriva.com>2001-09-15 01:00:16 +0000
commit5d5f9146b2ad2a98d0595461e7d55fef51d61e8b (patch)
tree0b9fe28af15778b68b7bb86f5640ea4f0edcff9b
parentee6604c44adc4125d47d5faa22741ac1e0486780 (diff)
downloaddrakx-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar
drakx-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.gz
drakx-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.bz2
drakx-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.xz
drakx-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.zip
avoid asking 2 times to restart the ethernet card
-rw-r--r--perl-install/network/adsl.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a12750f0e..8bb4c2359 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -28,11 +28,11 @@ If you don't know, choose 'use pppoe'"), [__("use pppoe"), __("use pptp"), __("u
$netcnx->{"adsl_$type"} = {};
adsl_conf($netcnx->{"adsl_$type"}, $netc, $intf, $type) or goto conf_adsl_step1;
#-network::configureNetwork($prefix, $netc, $in, $intf, $first_time);
- if ($::isStandalone and $netc->{NET_DEVICE}) {
- $in->ask_yesorno(_("Network interface"),
- _("I'm about to restart the network device %s. Do you agree?", $netc->{NET_DEVICE}), 1)
- and system("$prefix/sbin/ifdown $netc->{NET_DEVICE}; $prefix/sbin/ifup $netc->{NET_DEVICE}");
- }
+# if ($::isStandalone and $netc->{NET_DEVICE}) {
+# $in->ask_yesorno(_("Network interface"),
+# _("I'm about to restart the network device %s. Do you agree?", $netc->{NET_DEVICE}), 1)
+# and system("$prefix/sbin/ifdown $netc->{NET_DEVICE}; $prefix/sbin/ifup $netc->{NET_DEVICE}");
+# }
}
if ($type eq 'dhcp') {
$in->do_pkgs->install(qw(dhcpcd));