diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-13 17:30:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-13 17:30:00 +0000 |
commit | a8e98384cd8598146d13b324762e5e0929e1f8bf (patch) | |
tree | 512896520c9327023cd61ad6fef53259a67b7544 | |
parent | 23c818cc4c6cbefc30d95d91cf12dbeb1182a5bb (diff) | |
download | pfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.tar.gz pfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.tar.bz2 pfsense-packages-a8e98384cd8598146d13b324762e5e0929e1f8bf.zip |
If $acldir does not exist then touch src_subnets.acl as well
-rw-r--r-- | packages/squid_ng.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc index 47a19635..02e152d0 100644 --- a/packages/squid_ng.inc +++ b/packages/squid_ng.inc @@ -471,6 +471,7 @@ function global_write_squid_config() if (isset($allowed_subnets) && ($allowed_subnets !== "")) { if (!file_exists($acldir)) { mwexec("/bin/mkdir -p " . $acldir); + mwexec("touch {$acldir}/src_subnets.acl"); } $aclout = fopen($acldir . "/src_subnets.acl","w"); |