luci-app-multiwan: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
924202156e
commit
831a8cb13d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue