aboutsummaryrefslogtreecommitdiffstats
path: root/config/lightsquid
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-02-17 14:18:32 -0500
committerjim-p <jimp@pfsense.org>2015-02-17 14:18:32 -0500
commitb644cfe9163f2e4231688727bcc2eabe486edae7 (patch)
tree5fa6944973a07758249fb527fa99a53730648906 /config/lightsquid
parent0feb19d9aa015ca9ca1065b12d116af755493ea6 (diff)
downloadpfsense-packages-b644cfe9163f2e4231688727bcc2eabe486edae7.tar.gz
pfsense-packages-b644cfe9163f2e4231688727bcc2eabe486edae7.tar.bz2
pfsense-packages-b644cfe9163f2e4231688727bcc2eabe486edae7.zip
Fix lightsquid graphs
Diffstat (limited to 'config/lightsquid')
-rw-r--r--config/lightsquid/lightsquid.inc3
-rw-r--r--config/lightsquid/lightsquid.xml2
2 files changed, 4 insertions, 1 deletions
diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc
index 399e0572..054713a1 100644
--- a/config/lightsquid/lightsquid.inc
+++ b/config/lightsquid/lightsquid.inc
@@ -175,6 +175,9 @@ function lightsquid_resync() {
if (!file_exists("/usr/bin/perl"))
mwexec("ln -s /usr/local/bin/perl /usr/bin/perl");
+ // Fixup library path so GD can find its libraries for graphs.
+ mwexec("/sbin/ldconfig -m " . LIGHTSQUID_BASE . "/lib/");
+
// create lightsquid report catalog
if (!file_exists(LS_REPORTPATH)) {
update_log("lightsquid_install: Create report dir " . LS_REPORTPATH);
diff --git a/config/lightsquid/lightsquid.xml b/config/lightsquid/lightsquid.xml
index 0f6baf37..63eaabe4 100644
--- a/config/lightsquid/lightsquid.xml
+++ b/config/lightsquid/lightsquid.xml
@@ -46,7 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>lightsquid</name>
- <version>1.8.2 pkg v.2.34</version>
+ <version>1.8.2 pkg v.2.35</version>
<title>Services: Proxy Reports (LightSquid, SQStat) -> Settings</title>
<category>Status</category>
<include_file>/usr/local/pkg/lightsquid.inc</include_file>