From 2af6fac809e73e57097572fa6a759156fa0d24eb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 14:55:46 +0100 Subject: [PATCH] luci-app-olsr: switch to nixio.fs Signed-off-by: Jo-Philipp Wich --- applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.30.2