Apply host-UVL
This commit is contained in:
parent
de80e2a708
commit
8767a20e40
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ pcall(function()
|
|||
require "luci.model.uci".cursor = function(config, save)
|
||||
return uci.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci")
|
||||
end
|
||||
|
||||
local x = require "luci.uvl".UVL.__init__
|
||||
require "luci.uvl".UVL.__init__ = function(self, schemedir)
|
||||
x(self, schemedir or SYSROOT .. "/lib/uci/schema")
|
||||
end
|
||||
end)
|
||||
|
||||
require("luci.sys")
|
||||
|
|
Loading…
Reference in a new issue