From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 14:06:03 +0000 (+0100) Subject: luci-app-multiwan: switch to nixio.fs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=831a8cb13de8969518c3c541c319626012649e91;p=project%2Fluci.git luci-app-multiwan: switch to nixio.fs Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-multiwan/luasrc/controller/multiwan.lua b/applications/luci-app-multiwan/luasrc/controller/multiwan.lua index b596ef7e34..523ac21200 100644 --- a/applications/luci-app-multiwan/luasrc/controller/multiwan.lua +++ b/applications/luci-app-multiwan/luasrc/controller/multiwan.lua @@ -1,7 +1,7 @@ module("luci.controller.multiwan", package.seeall) function index() - local fs = luci.fs or nixio.fs + local fs = require "nixio.fs" if not fs.access("/etc/config/multiwan") then return end