summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/model/cbi
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-28 15:50:57 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-28 15:50:57 +0000
commitda9929e2cb311b25fc7e4b85f313d347a16f1b63 (patch)
treec879c12c1ea09e57e4b15aa0daf144c3beb16d99 /applications/luci-statistics/luasrc/model/cbi
parent44a18906e57a8f5da574e970c932f6aa0cb863a8 (diff)
applications/luci-statistics: Saner defaults for processes to monitor and add helptext
Diffstat (limited to 'applications/luci-statistics/luasrc/model/cbi')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
index 6607b36406..c5f980e762 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
@@ -28,8 +28,9 @@ enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
-- collectd_processes.processes (Process)
-processes = s:option( Value, "Processes", translate("Monitor processes") )
-processes.default = "olsrd bmxd httpd dnsmasq dropbear tinc"
+processes = s:option( Value, "Processes", translate("Monitor processes"),
+ translate("Processes to monitor seperated by space") )
processes:depends( "enable", 1 )
+processes.default = "uhttpd dropbear dnsmasq"
return m