summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-02 14:50:00 +0000
committerSteven Barth <steven@midlink.org>2008-09-02 14:50:00 +0000
commit048fe5ce12c63c910cc92b568ec2fdca90c63d62 (patch)
tree16c88c693661e84aa8d89cb815c8add0ce9a65f2 /libs/sgi-webuci
parentb693e1ab915b0d811dd234377afaf8127851bcaf (diff)
Fixed some UCI transition fallout
Diffstat (limited to 'libs/sgi-webuci')
-rw-r--r--libs/sgi-webuci/root/usr/lib/boa/luci.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
index 387d577d60..6cb019d16a 100644
--- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua
+++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
@@ -25,7 +25,7 @@ function init(path)
if (root ~= '/') then
-- Entering dummy mode
luci.model.uci.cursor = function(config, ...)
- return uci2.cursor(config or root .. "/etc/config", ...)
+ return uci.cursor(config or root .. "/etc/config", ...)
end
luci.sys.hostname = function() return "" end