aboutsummaryrefslogtreecommitdiffstats
path: root/config/rate/rate.inc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-06-14 16:44:08 -0400
committerjim-p <jim@pingle.org>2009-06-14 16:45:33 -0400
commitad217b92d254873e6fa92e3d91aba65333767188 (patch)
treeede6cdd0a57292af20588af10b2d0505b4d9fc10 /config/rate/rate.inc
parent87af9fbf3bc1abed07190fe7240fc8193a5f972d (diff)
downloadpfsense-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/rate/rate.inc')
-rw-r--r--config/rate/rate.inc4
1 files changed, 2 insertions, 2 deletions
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");