diff options
author | Steven Barth <steven@midlink.org> | 2008-08-27 08:53:40 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-27 08:53:40 +0000 |
commit | d463d0b8357764ca9018549fa624c428f56fcd87 (patch) | |
tree | 5ef47bb6549a33c40415774b949fa23be5cfd3cb /libs/sgi-webuci/root/usr/lib | |
parent | 9d0c00590d2e232d66588567da2048fc64ef940a (diff) |
Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
Diffstat (limited to 'libs/sgi-webuci/root/usr/lib')
-rw-r--r-- | libs/sgi-webuci/root/usr/lib/boa/luci.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua index c7ac168452..387d577d60 100644 --- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua +++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua @@ -25,8 +25,8 @@ function init(path) if (root ~= '/') then -- Entering dummy mode luci.model.uci.cursor = function(config, ...) - return uci.cursor(config or root .. "/etc/config", ...) - end + return uci2.cursor(config or root .. "/etc/config", ...) + end luci.sys.hostname = function() return "" end luci.sys.loadavg = function() return 0,0,0,0,0 end |