Root/cgminer/root-files/usr/lib/lua/luci/model/cbi/cgminer/cgminer.lua

Source at commit 8b7a89168c777ee394adff8070b29581ebf46ba8 created 7 years 1 month ago.
By Xiangfu, cgmienr: add a webui, update to 2.10.5
1m = Map("cgminer", "Configuration", "")
2
3conf = m:section(TypedSection, "cgminer", "")
4conf.anonymous = true
5conf.addremove = false
6
7conf:tab("default", translate("General Settings"))
8
9pool1url = conf:taboption("default", Value, "pool1url", translate("Pool 1"))
10pool1user = conf:taboption("default", Value, "pool1user", translate("Pool1 worker"))
11pool1pw = conf:taboption("default", Value, "pool1pw", translate("Pool1 password"))
12pool2url = conf:taboption("default", Value, "pool2url", translate("Pool 2"))
13pool2user = conf:taboption("default", Value, "pool2user", translate("Pool2 worker"))
14pool2pw = conf:taboption("default", Value, "pool2pw", translate("Pool2 password"))
15pool3url = conf:taboption("default", Value, "pool3url", translate("Pool 3"))
16pool3user = conf:taboption("default", Value, "pool3user", translate("Pool3 worker"))
17pool3pw = conf:taboption("default", Value, "pool3pw", translate("Pool3 password"))
18
19return m
20

Archive Download this file



interactive