aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkw <bkw>2005-03-13 22:30:05 +0000
committerbkw <bkw>2005-03-13 22:30:05 +0000
commit94d5d7393304cce20ae5d0867c437ec197f8e6b6 (patch)
tree51d10ba7fee71350bc23da4f8cfd9a3d338aa67f
parent0efdb9179b75e2213d0e7867126935e1e42b9472 (diff)
downloadpfsense-packages-94d5d7393304cce20ae5d0867c437ec197f8e6b6.tar.gz
pfsense-packages-94d5d7393304cce20ae5d0867c437ec197f8e6b6.tar.bz2
pfsense-packages-94d5d7393304cce20ae5d0867c437ec197f8e6b6.zip
append instead of overwrite
-rw-r--r--packages/squidGuard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml
index e003115a..a4e5b60b 100644
--- a/packages/squidGuard.xml
+++ b/packages/squidGuard.xml
@@ -17,7 +17,7 @@
fwrite($fout, "\t }\n");
fwrite($fout, "}\n");
fclose($fout);
- $fout = fopen("/usr/local/etc/squid/squid.conf","w");
+ $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");
fclose($fout);
@@ -42,4 +42,4 @@
system("/usr/local/sbin/squid -k reconfigure");
</custom_php_deinstall_command>
<process_kill_command>squidGuard</process_kill_command>
-</packagegui> \ No newline at end of file
+</packagegui>