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:
Jo-Philipp Wich 2022-09-19 14:18:27 +02:00
parent 6b1be72a1e
commit 18ee34def2

View file

@ -5,6 +5,7 @@ local coroutine, assert, error, type, require = coroutine, assert, error, type,
local tmpl = require "luci.template"
local util = require "luci.util"
local http = require "luci.http"
local sys = require "luci.sys"
--- LuCI ucode bridge library.