diff options
Diffstat (limited to 'applications/luci-statistics/src/model/cbi/luci_statistics')
5 files changed, 14 insertions, 14 deletions
diff --git a/applications/luci-statistics/src/model/cbi/luci_statistics/collectd.lua b/applications/luci-statistics/src/model/cbi/luci_statistics/collectd.lua index 21ff457e33..e09a11df1b 100644 --- a/applications/luci-statistics/src/model/cbi/luci_statistics/collectd.lua +++ b/applications/luci-statistics/src/model/cbi/luci_statistics/collectd.lua @@ -13,7 +13,7 @@ $Id$ ]]-- -require("ffluci.sys") +require("luci.sys") m = Map("luci_statistics", "Collector Daemon", @@ -56,7 +56,7 @@ readthreads.isnumber = true -- general.hostname (Hostname) hostname = s:option( Value, "Hostname", "Hostname zur Identifikation des Collector Dienstes (leer lassen um den Namen automatisch zu bestimmen)" ) -hostname.default = ffluci.sys.hostname() +hostname.default = luci.sys.hostname() hostname.optional = true -- general.fqdnlookup (FQDNLookup) diff --git a/applications/luci-statistics/src/model/cbi/luci_statistics/dns.lua b/applications/luci-statistics/src/model/cbi/luci_statistics/dns.lua index ed71a55a3a..dc7f57d68f 100644 --- a/applications/luci-statistics/src/model/cbi/luci_statistics/dns.lua +++ b/applications/luci-statistics/src/model/cbi/luci_statistics/dns.lua @@ -13,7 +13,7 @@ $Id$ ]]-- -require("ffluci.sys") +require("luci.sys") m = Map("luci_statistics", "DNS Plugin", @@ -30,7 +30,7 @@ enable.default = 0 interfaces = s:option( ListValue, "Interface", "Folgende Schnittstelle überwachen:" ) interfaces:depends( "enable", 1 ) interfaces:value("any") -for k, v in pairs(ffluci.sys.net.devices()) do +for k, v in pairs(luci.sys.net.devices()) do interfaces:value(v) end diff --git a/applications/luci-statistics/src/model/cbi/luci_statistics/interface.lua b/applications/luci-statistics/src/model/cbi/luci_statistics/interface.lua index 5acd4e93ca..3cd71a15d4 100644 --- a/applications/luci-statistics/src/model/cbi/luci_statistics/interface.lua +++ b/applications/luci-statistics/src/model/cbi/luci_statistics/interface.lua @@ -13,7 +13,7 @@ $Id$ ]]-- -require("ffluci.sys") +require("luci.sys") m = Map("luci_statistics", "Interface Plugin", @@ -30,7 +30,7 @@ enable.default = 0 interfaces = s:option( MultiValue, "Interfaces", "Überwachte Schnittstellen", "mehrere Einträge mit Strg selektieren" ) interfaces.widget = "select" interfaces:depends( "enable", 1 ) -for k, v in pairs(ffluci.sys.net.devices()) do +for k, v in pairs(luci.sys.net.devices()) do interfaces:value(v) end diff --git a/applications/luci-statistics/src/model/cbi/luci_statistics/iptables.lua b/applications/luci-statistics/src/model/cbi/luci_statistics/iptables.lua index 4757295897..4b6d9dbf43 100644 --- a/applications/luci-statistics/src/model/cbi/luci_statistics/iptables.lua +++ b/applications/luci-statistics/src/model/cbi/luci_statistics/iptables.lua @@ -13,9 +13,9 @@ $Id$ ]]-- -require("ffluci.sys.iptparser") +require("luci.sys.iptparser") -ip = ffluci.sys.iptparser.IptParser() +ip = luci.sys.iptparser.IptParser() chains = { } targets = { } diff --git a/applications/luci-statistics/src/model/cbi/luci_statistics/netlink.lua b/applications/luci-statistics/src/model/cbi/luci_statistics/netlink.lua index 478560f973..a27def8eb0 100644 --- a/applications/luci-statistics/src/model/cbi/luci_statistics/netlink.lua +++ b/applications/luci-statistics/src/model/cbi/luci_statistics/netlink.lua @@ -13,7 +13,7 @@ $Id$ ]]-- -require("ffluci.sys") +require("luci.sys") m = Map("luci_statistics", "Interface Plugin", @@ -32,7 +32,7 @@ interfaces.widget = "select" interfaces.optional = true interfaces:depends( "enable", 1 ) interfaces:value("") -for i, v in ipairs(ffluci.sys.net.devices()) do +for i, v in ipairs(luci.sys.net.devices()) do interfaces:value(v) end @@ -42,7 +42,7 @@ verboseinterfaces.widget = "select" verboseinterfaces.optional = true verboseinterfaces:depends( "enable", 1 ) verboseinterfaces:value("") -for i, v in ipairs(ffluci.sys.net.devices()) do +for i, v in ipairs(luci.sys.net.devices()) do verboseinterfaces:value(v) end @@ -52,7 +52,7 @@ qdiscs.widget = "select" qdiscs.optional = true qdiscs:depends( "enable", 1 ) qdiscs:value("") -for i, v in ipairs(ffluci.sys.net.devices()) do +for i, v in ipairs(luci.sys.net.devices()) do qdiscs:value(v) end @@ -62,7 +62,7 @@ classs.widget = "select" classs.optional = true classs:depends( "enable", 1 ) classs:value("") -for i, v in ipairs(ffluci.sys.net.devices()) do +for i, v in ipairs(luci.sys.net.devices()) do classs:value(v) end @@ -72,7 +72,7 @@ filters.widget = "select" filters.optional = true filters:depends( "enable", 1 ) filters:value("") -for i, v in ipairs(ffluci.sys.net.devices()) do +for i, v in ipairs(luci.sys.net.devices()) do filters:value(v) end |