summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-statistics/root/etc/config/luci_statistics2
-rwxr-xr-xapplications/luci-app-statistics/root/usr/bin/stat-genconfig4
2 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-statistics/root/etc/config/luci_statistics b/applications/luci-app-statistics/root/etc/config/luci_statistics
index 1e841fec8a..f84f67d1fc 100644
--- a/applications/luci-app-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-app-statistics/root/etc/config/luci_statistics
@@ -137,7 +137,7 @@ config statistics 'collectd_netlink'
config statistics 'collectd_nut'
option enable '0'
- option UPS 'myupsname'
+ list UPS 'myupsname'
config statistics 'collectd_olsrd'
option enable '0'
diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
index 7d1349b249..55cc6979e5 100755
--- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
@@ -393,9 +393,9 @@ plugins = {
network = config_network,
nut = {
- { "UPS" },
{ },
- { }
+ { },
+ { "UPS" }
},
olsrd = {