luci-lua-runtime: preload luci.sys
Some existing model code expects the luci.sys namespace to be implicitly available, even without requiring it beforehand. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
6b1be72a1e
commit
18ee34def2
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ local coroutine, assert, error, type, require = coroutine, assert, error, type,
|
||||||
local tmpl = require "luci.template"
|
local tmpl = require "luci.template"
|
||||||
local util = require "luci.util"
|
local util = require "luci.util"
|
||||||
local http = require "luci.http"
|
local http = require "luci.http"
|
||||||
|
local sys = require "luci.sys"
|
||||||
|
|
||||||
|
|
||||||
--- LuCI ucode bridge library.
|
--- LuCI ucode bridge library.
|
||||||
|
|
Loading…
Reference in a new issue