aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-10 19:55:10 +0000
committerColin Smith <colin@pfsense.org>2005-04-10 19:55:10 +0000
commit8df8bb9b653e5ef9d3c7b5a86baf8e5aa06b9d17 (patch)
treee0f81836022b9b1cb506276edfe0bd799f51b5e7 /packages/squidGuard.xml
parentca78bca6d27621ebd5df3dd96489e4b784056beb (diff)
downloadpfsense-packages-8df8bb9b653e5ef9d3c7b5a86baf8e5aa06b9d17.tar.gz
pfsense-packages-8df8bb9b653e5ef9d3c7b5a86baf8e5aa06b9d17.tar.bz2
pfsense-packages-8df8bb9b653e5ef9d3c7b5a86baf8e5aa06b9d17.zip
Clean up one more newline.
Diffstat (limited to 'packages/squidGuard.xml')
-rw-r--r--packages/squidGuard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml
index 6e180d42..f0aa9b88 100644
--- a/packages/squidGuard.xml
+++ b/packages/squidGuard.xml
@@ -16,7 +16,7 @@
fclose($fout);
sync_package("squid");
$fout = fopen("/usr/local/etc/squid/squid.conf","a");
- fwrite($fout, "redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf\\n");
+ fwrite($fout, "redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf\n");
fwrite($fout, "redirect_children 4\n");
fclose($fout);
mwexec("/usr/bin/touch /usr/local/squid/logs/squidGuard.log");
@@ -30,7 +30,7 @@
mwexec("/usr/sbin/chown -R squid /var/db/squidGuard");
mwexec("/usr/bin/chgrp -R squid /var/db/squidGuard");
mwexec("/bin/chmod -R 755 /var/db/squidGuard");
- system("/usr/local/sbin/squid -k reconfigure");
+ mwexec("/usr/local/sbin/squid -k reconfigure");
</custom_php_install_command>
<custom_php_deinstall_command>
unlink_if_exists("/var/log/squidGuard.log");