From 973ed606639a31a4d3f8fe40d210e615154291ae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Feb 2004 17:53:42 +0000 Subject: enable to refuse network restarting --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 8f46b9724..af6f877bb 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1092,7 +1092,7 @@ N("Last but not least you can also type in your DNS server IP addresses."), restart => { name => N("The network needs to be restarted. Do you want to restart it ?"), - # data => [ { label => N("Connection:"), val => \$type, type => 'list', list => [ sort values %l ] }, ], + type => "yesorno", post => sub { my ($a) = @_; if ($a && !$::testing && !run_program::rooted($::prefix, "/etc/rc.d/init.d/network restart")) { -- cgit v1.2.1