summaryrefslogtreecommitdiffstats
path: root/proxy_wizard/Squid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'proxy_wizard/Squid.pm')
-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;