summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-06 21:54:27 +0000
committerdamien <damien@mandriva.com>2001-08-06 21:54:27 +0000
commit717035c00560891bbb41c9364ea6be10a64fbe12 (patch)
tree649d4662eb85967bd19434d0d8300ef807db60c9 /perl-install/network/ethernet.pm
parentb684ed467490ecc1eda1fdc3048e9dc6ab4a390f (diff)
downloaddrakx-backup-do-not-use-717035c00560891bbb41c9364ea6be10a64fbe12.tar
drakx-backup-do-not-use-717035c00560891bbb41c9364ea6be10a64fbe12.tar.gz
drakx-backup-do-not-use-717035c00560891bbb41c9364ea6be10a64fbe12.tar.bz2
drakx-backup-do-not-use-717035c00560891bbb41c9364ea6be10a64fbe12.tar.xz
drakx-backup-do-not-use-717035c00560891bbb41c9364ea6be10a64fbe12.zip
debugging, profile coding, isdn 128 debugging
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 4edb584b6..0c5a70b19 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -63,8 +63,8 @@ sub configure_lan {
require Data::Dumper;
configureNetwork($netc, $intf, $first_time) or return;
configureNetwork2($in, $prefix, $netc, $intf, $install);
- if ($::isStandalone and $in->ask_yesorno(_("Network configuration"),
- _("Do you want to restart the network"), 1)) {
+ if ($::isStandalone and ($::expert or $in->ask_yesorno(_("Network configuration"),
+ _("Do you want to restart the network"), 1))) {
run_program::rooted($prefix, "/etc/rc.d/init.d/network stop");
if (!run_program::rooted($prefix, "/etc/rc.d/init.d/network start")) {
$in->ask_okcancel(_("Network Configuration"), _("A problem occured while restarting the network: \n\n%s", `/etc/rc.d/init.d/network start`), 0) or return;