summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-01-13 10:09:10 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-01-13 10:09:10 +0000
commit776936f45d38c2362720ab8497561d8ce9e62997 (patch)
treede738101348271287c8f0880ed95975c1e936e18 /proxy_wizard
parent68aa14fa39de9172cc9b98da7abffedca861c1ed (diff)
downloaddrakwizard-776936f45d38c2362720ab8497561d8ce9e62997.tar
drakwizard-776936f45d38c2362720ab8497561d8ce9e62997.tar.gz
drakwizard-776936f45d38c2362720ab8497561d8ce9e62997.tar.bz2
drakwizard-776936f45d38c2362720ab8497561d8ce9e62997.tar.xz
drakwizard-776936f45d38c2362720ab8497561d8ce9e62997.zip
add wiating dialog box
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-xproxy_wizard/Squid.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 06b94cf3..f17889ca 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -213,6 +213,8 @@ sub port {
sub do_it {
$::testing and return;
+ my $in = 'interactive'->vnew('su', 'Squid Config');
+ my $w = $in->wait_message(N("Squid proxy"), N("Configuring your system as a Proxy server..."));
my $file="/etc/squid/squid.conf";
-f $file and MDK::Common::cp_af($file, $file.".orig");
MDK::Common::cp_af("__WIZ_HOME__/proxy_wizard/scripts/squid.conf.default", $file);
@@ -270,5 +272,6 @@ level = $o->{var}{wiz_squid_level}");
} else {
services::start('squid')
}
+ undef $w;
}
1;