summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-xproxy_wizard/Squid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 5eec68f3..b7ce3ee3 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -236,7 +236,7 @@ sub do_it {
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) {
- run_program::rooted($::prefix, '/sbin/chkconfig', '--level', '345', 'squid', 'on');
+ services::start_service_on_boot('squid');
}
}
my $w = $in->wait_message(N("Squid proxy"), N("Configuring your system as a Proxy server..."));