diff options
author | Steven Barth <steven@midlink.org> | 2009-11-10 16:02:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-11-10 16:02:48 +0000 |
commit | 7aed1e4b9d3d608389a8b15ea800b8e75be967ef (patch) | |
tree | 9c87318822ab98bff3f91a7a8ab52618e89a6d6c /libs/uci/luasrc | |
parent | 4c08e29387ea675b230d87d4f4226b18389265cf (diff) |
NIU: More pages
Diffstat (limited to 'libs/uci/luasrc')
-rw-r--r-- | libs/uci/luasrc/model/uci.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index c927b4ca5a..66bd0a026e 100644 --- a/libs/uci/luasrc/model/uci.lua +++ b/libs/uci/luasrc/model/uci.lua @@ -58,7 +58,10 @@ function cursor_state() end -local Cursor = getmetatable(cursor()) +inst = cursor() +inst_state = cursor_state() + +local Cursor = getmetatable(inst) --- Applies UCI configuration changes -- @param configlist List of UCI configurations |