diff options
author | jim-p <jim@pingle.org> | 2009-06-14 16:44:08 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-06-14 16:45:33 -0400 |
commit | ad217b92d254873e6fa92e3d91aba65333767188 (patch) | |
tree | ede6cdd0a57292af20588af10b2d0505b4d9fc10 /config | |
parent | 87af9fbf3bc1abed07190fe7240fc8193a5f972d (diff) | |
download | pfsense-packages-ad217b92d254873e6fa92e3d91aba65333767188.tar.gz pfsense-packages-ad217b92d254873e6fa92e3d91aba65333767188.tar.bz2 pfsense-packages-ad217b92d254873e6fa92e3d91aba65333767188.zip |
Fix some whitespace errors, and rename assign_privs to rate_assign_privs so it is unique among packages.
Diffstat (limited to 'config')
-rw-r--r-- | config/rate/bandwidth_by_ip.php | 2 | ||||
-rw-r--r-- | config/rate/rate.inc | 4 | ||||
-rw-r--r-- | config/rate/status_graph.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/config/rate/bandwidth_by_ip.php b/config/rate/bandwidth_by_ip.php index 3fd01a61..8d9a9246 100644 --- a/config/rate/bandwidth_by_ip.php +++ b/config/rate/bandwidth_by_ip.php @@ -1,5 +1,5 @@ <?php -/* +/* * To change this template, choose Tools | Templates * and open the template in the editor. * diff --git a/config/rate/rate.inc b/config/rate/rate.inc index 3a2f13a9..a00ee736 100644 --- a/config/rate/rate.inc +++ b/config/rate/rate.inc @@ -9,7 +9,7 @@ function rate_install() { mwexec("cp /usr/local/pkg/bandwidth_by_ip.php /usr/local/www/bandwidth_by_ip.php"); mwexec("cp /usr/local/pkg/status_graph.php /usr/local/www/status_graph.php"); - assign_privs(); + rate_assign_privs(); /* Clear the APC cache so that the updates to installed files will work. */ apc_clear_cache(); } @@ -20,7 +20,7 @@ function rate_deinstall() { mwexec("cp /usr/local/www/status_graph.php.orig /usr/local/www/status_graph.php"); } -function assign_privs() { +function rate_assign_privs() { /* Fix permissions on replaced files */ mwexec("chown root:wheel /usr/local/www/bandwidth_by_ip.php"); mwexec("chown root:wheel /usr/local/www/status_graph.php"); diff --git a/config/rate/status_graph.php b/config/rate/status_graph.php index 12a9fd39..a5c8cbcd 100644 --- a/config/rate/status_graph.php +++ b/config/rate/status_graph.php @@ -140,7 +140,7 @@ function updateBandwidthHosts(data){ } } } - + setTimeout('updateBandwidth()', 3000); } @@ -160,7 +160,7 @@ if((isset($config['ipsec']['enable'])) || (isset($config['ipsec']['mobileclients } /* link the ipsec interface magically */ -if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']['enable'])) +if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']['enable'])) $ifdescrs['enc0'] = "IPsec"; ?> |