summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2008-03-28 15:05:45 +0000
committerNicolas Vigier <nvigier@mandriva.com>2008-03-28 15:05:45 +0000
commit7cfab9702e4e2fd16c73bbceb2e02cb01950c94b (patch)
tree09f263f55eac71ac8916bfe84e8aadc6fe23effa
parent13e4059aeeed3359da1f66b2fd291d0ce9b71199 (diff)
downloaddrakwizard-7cfab9702e4e2fd16c73bbceb2e02cb01950c94b.tar
drakwizard-7cfab9702e4e2fd16c73bbceb2e02cb01950c94b.tar.gz
drakwizard-7cfab9702e4e2fd16c73bbceb2e02cb01950c94b.tar.bz2
drakwizard-7cfab9702e4e2fd16c73bbceb2e02cb01950c94b.tar.xz
drakwizard-7cfab9702e4e2fd16c73bbceb2e02cb01950c94b.zip
rename variable
-rwxr-xr-xproxy_wizard/Squid.pm4
-rwxr-xr-xweb_wizard/Apache.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index b7ce3ee3..d47c86e2 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -234,8 +234,8 @@ sub do_it {
$::testing and return;
my $in = 'interactive'->vnew('su', 'Squid Config');
if (!services::starts_on_boot('squid')) {
- my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "squid"), N("Would you like to start the %s service automatically on every boot?", "squid"), 1);
- if ($start_httpd) {
+ my $start_service = $in->ask_yesorno(N("Start %s server on boot", "squid"), N("Would you like to start the %s service automatically on every boot?", "squid"), 1);
+ if ($start_service) {
services::start_service_on_boot('squid');
}
}
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm
index 30a2e772..b35905a7 100755
--- a/web_wizard/Apache.pm
+++ b/web_wizard/Apache.pm
@@ -249,8 +249,8 @@ sub do_it {
$::testing and return;
my $in = 'interactive'->vnew('su', 'Apache');
if (!services::starts_on_boot('httpd')) {
- my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1);
- if ($start_httpd) {
+ my $start_service = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1);
+ if ($start_service) {
services::start_service_on_boot('httpd');
}
}