Skip to content
Commit f16037ce authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-app-statistics: stat-genconfig: don't emit bools for absent uci options



Do not emit native collectd.conf boolean false options if the corresponding
uci option is unset in order to honour collectd's implicit defaults.

This fixes certain options, such as the memory plugins `ValuesAbsolute`,
being without effect if declared as default-enabled in the related plugin
uci forms.

Fixes: #5777
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 1f36d562
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment