From b2356e13fac55e78f5884bf3755fbf731eebcb9b Mon Sep 17 00:00:00 2001 From: Ffhener Date: Fri, 25 Oct 2024 12:27:53 +0200 Subject: [PATCH] collectd: only load iwinfo plugin on non low_mem or _flash devices This fixes #1030 --- .../cfg_openwrt/templates/common/collectd/conf.d/basic.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cfg_openwrt/templates/common/collectd/conf.d/basic.conf.j2 b/roles/cfg_openwrt/templates/common/collectd/conf.d/basic.conf.j2 index 454977b8f..6631deb2d 100644 --- a/roles/cfg_openwrt/templates/common/collectd/conf.d/basic.conf.j2 +++ b/roles/cfg_openwrt/templates/common/collectd/conf.d/basic.conf.j2 @@ -33,7 +33,7 @@ LoadPlugin olsrd {% endif %} -{% if wireless_devices is defined and wireless_profile != 'disable' %} +{% if wireless_devices is defined and wireless_profile != 'disable' and low_mem is not true | default (true) and low_flash is not true | default (true) %} LoadPlugin iwinfo {% endif %}