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:
6718931
)
build: remove uvl setup from sdk preloading
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 13 Jan 2011 22:29:01 +0000
(22:29 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 13 Jan 2011 22:29:01 +0000
(22:29 +0000)
build/setup.lua
patch
|
blob
|
history
diff --git
a/build/setup.lua
b/build/setup.lua
index d8fd5ddb9790ddeb6780936ee8a59257594e278a..7888d23eca0b58bc46dffcba77d2dd1e7fa37364 100644
(file)
--- a/
build/setup.lua
+++ b/
build/setup.lua
@@
-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