diff options
author | damien <damien@mandriva.com> | 2001-09-15 01:00:16 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-09-15 01:00:16 +0000 |
commit | 5d5f9146b2ad2a98d0595461e7d55fef51d61e8b (patch) | |
tree | 0b9fe28af15778b68b7bb86f5640ea4f0edcff9b /perl-install/network/adsl.pm | |
parent | ee6604c44adc4125d47d5faa22741ac1e0486780 (diff) | |
download | drakx-backup-do-not-use-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar drakx-backup-do-not-use-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.gz drakx-backup-do-not-use-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.bz2 drakx-backup-do-not-use-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.tar.xz drakx-backup-do-not-use-5d5f9146b2ad2a98d0595461e7d55fef51d61e8b.zip |
avoid asking 2 times to restart the ethernet card
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r-- | perl-install/network/adsl.pm | 10 |
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)); |