diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/squid.xml b/packages/squid.xml index cf88f41f..f4a49be4 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -46,12 +46,16 @@ fclose($fout); system("chmod a+x /usr/local/etc/rc.d/squid.sh"); system("/usr/bin/touch /usr/local/etc/squid/mime.conf"); - system("/bin/mkdir /usr/local/squid"); + system("/bin/mkdir /usr/local/squid"); system("/bin/mkdir /usr/local/squid/cache"); - system("/bin/mkdir /usr/local/libexec/squid"); - system("chown -R squid:squid /usr/local/squid"); - system("chown -R squid:squid /usr/local/etc/squid"); - system("chown -R squid:squid /usr/local/libexec/squid"); + system("/bin/mkdir /usr/local/etc/squid/errors"); + system("/usr/bin/touch /usr/local/etc/squid/errors/English"); + system("/usr/bin/touch /usr/local/etc/squid/icons"); + system("/bin/mkdir /usr/local/libexec/squid"); + system("/usr/bin/touch /usr/local/libexec/squid/unlinkd"); + system("/usr/sbin/chown -R squid:squid /usr/local/squid"); + system("/usr/sbin/chown -R squid:squid /usr/local/etc/squid"); + system("/usr/sbin/chown -R squid:squid /usr/local/libexec/squid"); system("/usr/local/sbin/squid -z"); system("/usr/local/sbin/squid"); filter_configure(); |