projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-app-statistics: add support for thermal stats
[project/luci.git]
/
applications
/
luci-app-statistics
/
root
/
usr
/
bin
/
stat-genconfig
diff --git
a/applications/luci-app-statistics/root/usr/bin/stat-genconfig
b/applications/luci-app-statistics/root/usr/bin/stat-genconfig
index cb94e281182dd94616dcb5a4c7c2d27b53272ce2..df9af1526101c49307a288d146c46e1c6346a2a7 100755
(executable)
--- a/
applications/luci-app-statistics/root/usr/bin/stat-genconfig
+++ b/
applications/luci-app-statistics/root/usr/bin/stat-genconfig
@@
-187,9
+187,9
@@
function _list_expand( c, l, nopad )
end
if n:find("(%w+)ses") then
end
if n:find("(%w+)ses") then
- k = n:gsub("(%w+)ses", "%1s")
+ k = n:gsub("(%w+)ses
$
", "%1s")
else
else
- k = n:gsub("(%w+)s", "%1")
+ k = n:gsub("(%w+)s
$
", "%1")
end
str = str .. _expand( c[n], k, nopad )
end
str = str .. _expand( c[n], k, nopad )
@@
-273,6
+273,12
@@
plugins = {
{ }
},
{ }
},
+ cpufreq = {
+ { },
+ { },
+ { }
+ },
+
csv = {
{ "DataDir" },
{ "StoreRates" },
csv = {
{ "DataDir" },
{ "StoreRates" },
@@
-303,6
+309,12
@@
plugins = {
{ }
},
{ }
},
+ entropy = {
+ { },
+ { },
+ { }
+ },
+
exec = config_exec,
interface = {
exec = config_exec,
interface = {
@@
-369,6
+381,12
@@
plugins = {
{ }
},
{ }
},
+ openvpn = {
+ { },
+ { "CollectIndividualUsers", "CollectUserCount", "CollectCompression", "ImprovedNamingSchema" },
+ { "StatusFile" }
+ },
+
ping = {
{ "TTL", "Interval" },
{ },
ping = {
{ "TTL", "Interval" },
{ },
@@
-387,6
+405,12
@@
plugins = {
{ "RRATimespans" }
},
{ "RRATimespans" }
},
+ sensors = {
+ { },
+ { "IgnoreSelected" },
+ { "Sensor" }
+ },
+
splash_leases = {
{ },
{ },
splash_leases = {
{ },
{ },
@@
-399,6
+423,12
@@
plugins = {
{ "LocalPorts", "RemotePorts" }
},
{ "LocalPorts", "RemotePorts" }
},
+ thermal = {
+ { },
+ { "IgnoreSelected" },
+ { "Device" }
+ },
+
unixsock = {
{ "SocketFile", "SocketGroup", "SocketPerms" },
{ },
unixsock = {
{ "SocketFile", "SocketGroup", "SocketPerms" },
{ },