summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-10 16:02:48 +0000
committerSteven Barth <steven@midlink.org>2009-11-10 16:02:48 +0000
commit7aed1e4b9d3d608389a8b15ea800b8e75be967ef (patch)
tree9c87318822ab98bff3f91a7a8ab52618e89a6d6c /build
parent4c08e29387ea675b230d87d4f4226b18389265cf (diff)
NIU: More pages
Diffstat (limited to 'build')
-rw-r--r--build/setup.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/setup.lua b/build/setup.lua
index 4a771540d..f374da90f 100644
--- a/build/setup.lua
+++ b/build/setup.lua
@@ -12,6 +12,9 @@ uci_model.cursor_state = function()
return uci_core.cursor(SYSROOT .. "/etc/config", SYSROOT .. "/var/state")
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__