summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-multiwan/luasrc/controller/multiwan.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-15 15:06:03 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-15 15:06:03 +0100
commit831a8cb13de8969518c3c541c319626012649e91 (patch)
tree2178753744c8eac1db4b8b9506ef2c5b749758e8 /applications/luci-app-multiwan/luasrc/controller/multiwan.lua
parent924202156ea5e5a7e1fba69a163617ad4cf6d3d4 (diff)
luci-app-multiwan: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-multiwan/luasrc/controller/multiwan.lua')
-rw-r--r--applications/luci-app-multiwan/luasrc/controller/multiwan.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-multiwan/luasrc/controller/multiwan.lua b/applications/luci-app-multiwan/luasrc/controller/multiwan.lua
index b596ef7e3..523ac2120 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