aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-04 03:12:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-04 03:12:47 +0000
commit96beb0395e634170237f6d644c1df0f84370336b (patch)
treea919bc514b014d5639b764c78629c2ac97c24039
parentea56e5fcfc3a42f34bb68d520431d581e4af1c52 (diff)
downloadpfsense-packages-96beb0395e634170237f6d644c1df0f84370336b.tar.gz
pfsense-packages-96beb0395e634170237f6d644c1df0f84370336b.tar.bz2
pfsense-packages-96beb0395e634170237f6d644c1df0f84370336b.zip
Setup cache file correctly by touching
-rw-r--r--packages/squid_ng.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc
index 1e9ad7a5..ad33d2bb 100644
--- a/packages/squid_ng.inc
+++ b/packages/squid_ng.inc
@@ -804,8 +804,9 @@ function custom_php_install_command() {
mwexec("cp /usr/local/etc/squid/mime.conf.default /usr/local/etc/squid/mime.conf");
/* set a few extra items noted by regan */
- mwexec("chgrp squid /dev/pf");
- mwexec("chmod g+rw /dev/pf");
+ mwexec("chown squid:wheel /dev/pf");
+ mwexec("chmod ug+rw /dev/pf");
+ touch("/var/log/cache.log");
mwexec("chown squid:wheel /var/log/cache.log");
update_output_window("Creating Proxy Server initialization scripts...");