summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-02 22:05:57 +0000
committerSteven Barth <steven@midlink.org>2008-11-02 22:05:57 +0000
commit8767a20e405b9336cb40b37a877d7acd95518576 (patch)
treefeabbad1572aa982d205528db0d5f569cae08e7d /libs/httpd
parentde80e2a708653e825434753a1b48559648942a3b (diff)
Apply host-UVL
Diffstat (limited to 'libs/httpd')
-rwxr-xr-xlibs/httpd/host/runluci5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/httpd/host/runluci b/libs/httpd/host/runluci
index 65c6b6cf1..bc56f15c1 100755
--- 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")