From b644cfe9163f2e4231688727bcc2eabe486edae7 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 17 Feb 2015 14:18:32 -0500 Subject: Fix lightsquid graphs --- config/lightsquid/lightsquid.inc | 3 +++ config/lightsquid/lightsquid.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'config') 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 @@ Describe your package requirements here Currently there are no FAQ items provided. lightsquid - 1.8.2 pkg v.2.34 + 1.8.2 pkg v.2.35 Services: Proxy Reports (LightSquid, SQStat) -> Settings Status /usr/local/pkg/lightsquid.inc -- cgit v1.2.3