From 717035c00560891bbb41c9364ea6be10a64fbe12 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 6 Aug 2001 21:54:27 +0000 Subject: debugging, profile coding, isdn 128 debugging --- perl-install/network/ethernet.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/network/ethernet.pm') 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; -- cgit v1.2.1