From 5d5f9146b2ad2a98d0595461e7d55fef51d61e8b Mon Sep 17 00:00:00 2001 From: damien Date: Sat, 15 Sep 2001 01:00:16 +0000 Subject: avoid asking 2 times to restart the ethernet card --- perl-install/network/adsl.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/network/adsl.pm') 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)); -- cgit v1.2.1