build: remove uvl setup from sdk preloading

This commit is contained in:
Jo-Philipp Wich 2011-01-13 22:29:01 +00:00
parent 6718931452
commit 9ab82c3446

View file

@ -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