luci-app-olsr: switch to nixio.fs
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 13:55:46 +0000 (14:55 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 13:55:46 +0000 (14:55 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm

index 6d8eca874afbc6d18c7cf2c0808fac2065468728..727b476d03f5be69ba0f79ff6b754082587cc110 100644 (file)
@@ -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")