aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-06-10 09:56:09 -0400
committerjim-p <jim@pingle.org>2009-06-10 09:56:09 -0400
commitf33282a2a06292e8c42fd8a684d147f70450a71c (patch)
tree449150ec1fd957d6a3ea1342f98176892e6d674d
parentc0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e (diff)
downloadpfsense-packages-f33282a2a06292e8c42fd8a684d147f70450a71c.tar.gz
pfsense-packages-f33282a2a06292e8c42fd8a684d147f70450a71c.tar.bz2
pfsense-packages-f33282a2a06292e8c42fd8a684d147f70450a71c.zip
Add a little bit of a sleep first, seems to help.
-rw-r--r--config/dashboard/dashboard.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc
index 09472500..d06fee20 100644
--- a/config/dashboard/dashboard.inc
+++ b/config/dashboard/dashboard.inc
@@ -12,6 +12,7 @@ function dashboard_install() {
mwexec("tar xzvpUf /usr/local/pkg/widgets.tgz -C /");
assign_privs();
/* Clear the APC cache so that the updates to installed files will work. */
+ sleep(5);
apc_clear_cache();
}