aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_ng.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-04 03:21:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-04 03:21:59 +0000
commitae08955d45d7239e1b4a2caba8ee1b8877204b68 (patch)
tree1e73d543b28fd07eb92c19e95039285439bbb7ab /packages/squid_ng.inc
parent67d874323d4a78a9a0ee87bb2fcdad055c8fdd15 (diff)
downloadpfsense-packages-ae08955d45d7239e1b4a2caba8ee1b8877204b68.tar.gz
pfsense-packages-ae08955d45d7239e1b4a2caba8ee1b8877204b68.tar.bz2
pfsense-packages-ae08955d45d7239e1b4a2caba8ee1b8877204b68.zip
Open file for writing
Diffstat (limited to 'packages/squid_ng.inc')
-rw-r--r--packages/squid_ng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc
index b54257d9..026c94d4 100644
--- a/packages/squid_ng.inc
+++ b/packages/squid_ng.inc
@@ -805,7 +805,7 @@ function custom_php_install_command() {
/* set a few extra items noted by regan */
update_output_window("Creating logs and setting user information...");
- $fdsquid = fopen("/usr/local/etc/rc.d/aSquid.sh");
+ $fdsquid = fopen("/usr/local/etc/rc.d/aSquid.sh", "w");
fwrite($fdsquid, "#/bin/sh\n");
fwrite($fdsquid, "# \n");
fwrite($fdsquid, "# This file was created by the pfSense package system\n");