diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-15 15:05:06 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-15 15:05:06 +0100 |
commit | 924202156ea5e5a7e1fba69a163617ad4cf6d3d4 (patch) | |
tree | 2edad5d573f448ead5eb27362adf37ea16f3a604 /applications/luci-app-splash | |
parent | bca0643edacb00285914b8b1c999011c4616a9ac (diff) |
luci-app-splash: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-splash')
-rw-r--r-- | applications/luci-app-splash/luasrc/view/splash/splash.htm | 2 | ||||
-rwxr-xr-x | 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 |