From ab7a4b065852876fa924e477c32e77266cbc2be9 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 28 Sep 2010 12:02:42 +0200 Subject: [PATCH] collectd: fixed to use 'opt/collectd' prefix only if '$prefix_auto = 1' so targets are able to alter the prefix on their own --- monitor/collectd/collectd.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/monitor/collectd/collectd.conf b/monitor/collectd/collectd.conf index 6c49e9417..f1642e6b1 100644 --- a/monitor/collectd/collectd.conf +++ b/monitor/collectd/collectd.conf @@ -12,8 +12,10 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -prefix="opt/collectd" -set_confopt +if [ $prefix_auto = 1 ]; then + prefix="opt/collectd" + set_confopt +fi var_append GCC_WRAPPER_REMOVE ' ' '-Werror'