提交 9ab82c34 编写于 作者: J Jo-Philipp Wich

build: remove uvl setup from sdk preloading

上级 67189314
......@@ -15,14 +15,6 @@ end
uci_model.inst = uci_model.cursor()
uci_model.inst_state = uci_model.cursor_state()
-- override uvl access
local uvl_model = require "luci.uvl"
local uvl_init = uvl_model.UVL.__init__
uvl_model.UVL.__init__ = function(self, schemedir)
uvl_init(self, schemedir or SYSROOT .. "/lib/uci/schema")
end
-- allow any password in local sdk
local sys = require "luci.sys"
sys.user.checkpasswd = function() return true end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册