luci-app-olsr: switch to nixio.fs
[project/luci.git] / applications / luci-app-olsr / luasrc / view / status-olsr / overview.htm
index 6d8eca8..727b476 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")