diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-27 15:59:20 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-27 15:59:20 +0000 |
commit | ba66381047835cd18e7c8e6db89e42662106e89a (patch) | |
tree | 2d46a597013f069860729ed37c0801250fb0c0b9 /applications/luci-statistics | |
parent | c23a386eb73b16c26ef8fcb98b879f48b6a5f512 (diff) |
applications/luci-statistics: switch controller to nixio.fs
Diffstat (limited to 'applications/luci-statistics')
-rw-r--r-- | applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 940d2265c..7ffdd091e 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -17,7 +17,7 @@ module("luci.controller.luci_statistics.luci_statistics", package.seeall) function index() - require("luci.fs") + require("nixio.fs") require("luci.util") require("luci.i18n") require("luci.statistics.datatree") @@ -32,7 +32,7 @@ function index() -- override entry(): check for existance <plugin>.so where <plugin> is derived from the called path function _entry( path, ... ) local file = path[5] or path[4] - if luci.fs.access( "/usr/lib/collectd/" .. file .. ".so" ) then + if nixio.fs.access( "/usr/lib/collectd/" .. file .. ".so" ) then entry( path, ... ) end end |