Browse Source

collectd: fix the wrong var name

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
lilik-openwrt-22.03
Maxim Storchak 4 years ago
committed by Hannu Nyman
parent
commit
fdd53a4c60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/collectd/files/collectd.init

+ 1
- 1
utils/collectd/files/collectd.init View File

@ -98,7 +98,7 @@ process_network() {
} }
config_get_bool Forward "$cfg" Forward config_get_bool Forward "$cfg" Forward
if [ "$value" = "0" ]; then
if [ "$Forward" = "0" ]; then
printf "\\tForward false\n" >> "$COLLECTD_CONF" printf "\\tForward false\n" >> "$COLLECTD_CONF"
else else
printf "\\tForward true\n" >> "$COLLECTD_CONF" printf "\\tForward true\n" >> "$COLLECTD_CONF"


Loading…
Cancel
Save