From 924202156ea5e5a7e1fba69a163617ad4cf6d3d4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 15:05:06 +0100 Subject: [PATCH] luci-app-splash: switch to nixio.fs Signed-off-by: Jo-Philipp Wich --- applications/luci-app-splash/luasrc/view/splash/splash.htm | 2 +- applications/luci-app-splash/root/usr/sbin/luci-splash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-splash/luasrc/view/splash/splash.htm b/applications/luci-app-splash/luasrc/view/splash/splash.htm index 2ebee273b..b3eddc615 100644 --- a/applications/luci-app-splash/luasrc/view/splash/splash.htm +++ b/applications/luci-app-splash/luasrc/view/splash/splash.htm @@ -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") diff --git a/applications/luci-app-splash/root/usr/sbin/luci-splash b/applications/luci-app-splash/root/usr/sbin/luci-splash index 6b1e41edb..0f8bdc2c4 100755 --- a/applications/luci-app-splash/root/usr/sbin/luci-splash +++ b/applications/luci-app-splash/root/usr/sbin/luci-splash @@ -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 -- 2.11.0