From: Maxim Storchak Date: Tue, 5 Jan 2021 20:32:40 +0000 (+0200) Subject: collectd: fix the wrong var name X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fdd53a4c60f6144a18cbcb99e85b9d7f3103652c;p=openwrt-packages.git collectd: fix the wrong var name Signed-off-by: Maxim Storchak --- diff --git a/utils/collectd/files/collectd.init b/utils/collectd/files/collectd.init index 89fc6b2bb..e585f7b05 100644 --- a/utils/collectd/files/collectd.init +++ b/utils/collectd/files/collectd.init @@ -98,7 +98,7 @@ process_network() { } config_get_bool Forward "$cfg" Forward - if [ "$value" = "0" ]; then + if [ "$Forward" = "0" ]; then printf "\\tForward false\n" >> "$COLLECTD_CONF" else printf "\\tForward true\n" >> "$COLLECTD_CONF"