summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/root')
-rw-r--r--applications/luci-statistics/root/etc/config/luci_statistics3
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig6
2 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/config/luci_statistics b/applications/luci-statistics/root/etc/config/luci_statistics
index 5267a02626..1bbe76ce21 100644
--- a/applications/luci-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-statistics/root/etc/config/luci_statistics
@@ -135,3 +135,6 @@ config 'statistics' 'collectd_iwinfo'
config 'statistics' 'collectd_nut'
option 'enable' '0'
option 'UPS' 'myupsname'
+
+config 'statistics' 'collectd_uptime'
+ option 'enable' '1'
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 0a9fa1ab33..46d23a67a7 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -399,6 +399,12 @@ plugins = {
{ }
},
+ uptime = {
+ { },
+ { },
+ { }
+ },
+
wireless = {
{ },
{ },