summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-20 17:53:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-20 17:53:42 +0000
commit973ed606639a31a4d3f8fe40d210e615154291ae (patch)
treeeafd99118b30d3fbfe1df861c86f64f92f2f44e9
parentf8636b06025adc6c8966c0d9ea1b7e4a4473f29e (diff)
downloaddrakx-backup-do-not-use-973ed606639a31a4d3f8fe40d210e615154291ae.tar
drakx-backup-do-not-use-973ed606639a31a4d3f8fe40d210e615154291ae.tar.gz
drakx-backup-do-not-use-973ed606639a31a4d3f8fe40d210e615154291ae.tar.bz2
drakx-backup-do-not-use-973ed606639a31a4d3f8fe40d210e615154291ae.tar.xz
drakx-backup-do-not-use-973ed606639a31a4d3f8fe40d210e615154291ae.zip
enable to refuse network restarting
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
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")) {