From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 13:55:46 +0000 (+0100) Subject: luci-app-olsr: switch to nixio.fs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2af6fac809e73e57097572fa6a759156fa0d24eb;p=project%2Fluci.git luci-app-olsr: switch to nixio.fs Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm index 6d8eca874a..727b476d03 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm @@ -15,7 +15,7 @@ You may obtain a copy of the License at local ipv = luci.model.uci.cursor():get_first("olsrd", "olsrd", "IpVersion", "4") function write_conf(conf, file) - local fs = require "luci.fs" + local fs = require "nixio.fs" if fs.access(conf) then luci.http.header("Content-Disposition", "attachment; filename="..file) luci.http.prepare_content("text/plain")