diff options
Diffstat (limited to 'build/setup.lua')
-rw-r--r-- | build/setup.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/setup.lua b/build/setup.lua index 4a771540da..f374da90f7 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__ |