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 2ebee273b4dedf131a53d45e25ce502e6eeae755..b3eddc615086e55f5700426df08f743a4ac283e5 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 6b1e41edbde7c63ec07c38da766476fce14a3768..0f8bdc2c474a1401bbc23617e27998b14135d9df 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