projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de80e2a
)
Apply host-UVL
author
Steven Barth
<steven@midlink.org>
Sun, 2 Nov 2008 22:05:57 +0000
(22:05 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 2 Nov 2008 22:05:57 +0000
(22:05 +0000)
libs/httpd/host/runluci
patch
|
blob
|
history
diff --git
a/libs/httpd/host/runluci
b/libs/httpd/host/runluci
index 65c6b6cf1c31f162667e878014fbbbf3d00d087d..bc56f15c1c9c64f0c34f6390fc68d6f89a31ede6 100755
(executable)
--- a/
libs/httpd/host/runluci
+++ b/
libs/httpd/host/runluci
@@
-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")