diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-15 23:09:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-15 23:09:47 +0000 |
commit | f158623c288c327272f68fa4914b83c71a55fbc7 (patch) | |
tree | a6ea6a13a4d588139f2365a1193ec2fc41c1e170 /packages | |
parent | 9bea15deb098e44d59674836fbb18d095ac3f837 (diff) | |
download | pfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.tar.gz pfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.tar.bz2 pfsense-packages-f158623c288c327272f68fa4914b83c71a55fbc7.zip |
Fix tabs.. AGAIN.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 28 |
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 "<pre>"; 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> |