From f158623c288c327272f68fa4914b83c71a55fbc7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 15 Mar 2005 23:09:47 +0000 Subject: Fix tabs.. AGAIN. --- packages/squid.xml | 28 ++++++++++++++-------------- 1 file 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 @@ 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(); @@ -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"); /usr/local/sbin/squid squid -- cgit v1.2.3