diff options
author | Colin Smith <colin@pfsense.org> | 2005-04-10 19:45:17 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-04-10 19:45:17 +0000 |
commit | 7c513023df502ca29c35f239ecab631fba30579d (patch) | |
tree | 3fa02b0f6d23c81d11923d309a7612081efc1788 /packages | |
parent | f23cc711548396caaf044276e99ee8cd97103399 (diff) | |
download | pfsense-packages-7c513023df502ca29c35f239ecab631fba30579d.tar.gz pfsense-packages-7c513023df502ca29c35f239ecab631fba30579d.tar.bz2 pfsense-packages-7c513023df502ca29c35f239ecab631fba30579d.zip |
We don't need to escape \n and \ts.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squidGuard.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml index 0bfe8ed3..d48c8433 100644 --- a/packages/squidGuard.xml +++ b/packages/squidGuard.xml @@ -6,19 +6,19 @@ echo "<pre>"; $fout = fopen("/usr/local/etc/squid/squidGuard.conf","w"); fwrite($fout, "# This configuration was generated by the pfSense package manager.\n"); - fwrite($fout, "# cat squidGuard.conf\\n\\n"); - fwrite($fout, "dbhome /var/db/squidGuard\\n"); - fwrite($fout, "logdir /usr/local/squid/logs\\n"); - fwrite($fout, "acl {\\n"); - fwrite($fout, "\\t default {\\n"); - fwrite($fout, "\\t pass all\\n"); - fwrite($fout, "\\t }\\n"); - fwrite($fout, "}\\n"); + fwrite($fout, "# cat squidGuard.conf\n\n"); + fwrite($fout, "dbhome /var/db/squidGuard\n"); + fwrite($fout, "logdir /usr/local/squid/logs\n"); + fwrite($fout, "acl {\n"); + fwrite($fout, "\t default {\n"); + fwrite($fout, "\t pass all\n"); + fwrite($fout, "\t }\n"); + fwrite($fout, "}\n"); 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_children 4\\n"); + fwrite($fout, "redirect_children 4\n"); fclose($fout); mwexec("/usr/bin/touch /usr/local/squid/logs/squidGuard.log"); mwexec("/usr/sbin/chown squid /usr/local/squid/logs/squidGuard.log"); |