luci-app-splash: switch to nixio.fs
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 14:05:06 +0000 (15:05 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 14:05:06 +0000 (15:05 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
applications/luci-app-splash/luasrc/view/splash/splash.htm
applications/luci-app-splash/root/usr/sbin/luci-splash

index 2ebee27..b3eddc6 100644 (file)
@@ -11,7 +11,7 @@ You may obtain a copy of the License at
        http://www.apache.org/licenses/LICENSE-2.0
 -%>
 <%
-local fs = require "luci.fs"
+local fs = require "nixio.fs"
 local has_custom_splash = fs.access("/usr/lib/luci-splash/splashtext.html")
 local has_custom_splashinclude = fs.access("/usr/lib/luci-splash/splashtextinclude.html")
 
index 6b1e41e..0f8bdc2 100755 (executable)
@@ -10,7 +10,7 @@ require("luci.sys.iptparser")
 local uci = luci.model.uci.cursor_state()
 local ipt = luci.sys.iptparser.IptParser()
 local net = sys.net
-local fs = require "luci.fs"
+local fs = require "nixio.fs"
 local ip = require "luci.ip"
 
 local debug = false