summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-15 14:55:46 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-15 14:55:46 +0100
commit2af6fac809e73e57097572fa6a759156fa0d24eb (patch)
treed711e1dbf312bbb7090597f544f0f9a3ac4e6e56 /applications/luci-app-olsr
parent76eb057b2c06af6d2f0c9278877131f3c3e1f250 (diff)
luci-app-olsr: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-olsr')
-rw-r--r--applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm2
1 files changed, 1 insertions, 1 deletions
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 6d8eca874..727b476d0 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")