summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-13 04:55:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-13 04:55:48 +0000
commit4a6846f0937b6f18c6ffe201910d53eb3ec442ef (patch)
treeb88f572c9f922daa4b6d8ab6e8a14a2634f71430
parentcdfe9d6c7bcb678406eccaa389a4b2cea53d7c64 (diff)
build: fix cursor_state() in setup.lua
-rw-r--r--build/setup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/setup.lua b/build/setup.lua
index 6b19c5330..4a771540d 100644
--- a/build/setup.lua
+++ b/build/setup.lua
@@ -9,7 +9,7 @@ uci_model.cursor = function(config, save)
end
uci_model.cursor_state = function()
- return uci_core.cursor(nil, SYSROOT .. "/var/state")
+ return uci_core.cursor(SYSROOT .. "/etc/config", SYSROOT .. "/var/state")
end
-- override uvl access