aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-15 23:09:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-15 23:09:47 +0000
commitf158623c288c327272f68fa4914b83c71a55fbc7 (patch)
treea6ea6a13a4d588139f2365a1193ec2fc41c1e170 /packages/squid.xml
parent9bea15deb098e44d59674836fbb18d095ac3f837 (diff)
downloadpfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.tar.gz
pfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.tar.bz2
pfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.zip
Fix tabs.. AGAIN.
Diffstat (limited to 'packages/squid.xml')
-rw-r--r--packages/squid.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/squid.xml b/packages/squid.xml
index 1f06580c..cf88f41f 100644
--- a/packages/squid.xml
+++ b/packages/squid.xml
@@ -8,9 +8,9 @@
<custom_php_install_command>
echo "&lt;pre&gt;";
system("/bin/mkdir /usr/local/etc/squid");
- system("/usr/sbin/pw adduser squid -s /bin/false");
- system("/usr/sbin/pw addgroup squid");
- $lancfg = $config['interfaces']['lan'];
+ system("/usr/sbin/pw adduser squid -s /bin/false");
+ system("/usr/sbin/pw addgroup squid");
+ $lancfg = $config['interfaces']['lan'];
$lanif = $lancfg['if'];
$lanip = $lancfg['ipaddr'];
$lansa = gen_subnet($lancfg['ipaddr'], $lancfg['subnet']);
@@ -38,21 +38,21 @@
fwrite($fout, "httpd_accel_with_proxy on\n");
fwrite($fout, "httpd_accel_uses_host_header on\n");
fwrite($fout, "cache_effective_user squid\n");
- fwrite($fout, "cache_effective_group squid\n");
- fclose($fout);
+ fwrite($fout, "cache_effective_group squid\n");
+ fclose($fout);
$fout = fopen("/usr/local/etc/rc.d/squid.sh","w");
fwrite($fout, "#!/bin/sh\n");
fwrite($fout, "/usr/local/sbin/squid\n\n");
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/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("/usr/local/sbin/squid -z");
+ 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("/usr/local/sbin/squid -z");
system("/usr/local/sbin/squid");
filter_configure();
</custom_php_install_command>
@@ -65,8 +65,8 @@
exec("rm -rf /usr/local/squid/");
exec("rm -rf /usr/local/etc/squid/");
exec("rm -rf /usr/local/libexec/squid/");
- exec("/usr/sbin/pw deluser squid");
- exec("/usr/sbin/pw delgroup squid");
+ exec("/usr/sbin/pw deluser squid");
+ exec("/usr/sbin/pw delgroup squid");
</custom_php_deinstall_command>
<start_command>/usr/local/sbin/squid</start_command>
<process_kill_command>squid</process_kill_command>