From: Jo-Philipp Wich Date: Thu, 13 Aug 2009 04:55:48 +0000 (+0000) Subject: build: fix cursor_state() in setup.lua X-Git-Tag: 0.10.0~1202 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4a6846f0937b6f18c6ffe201910d53eb3ec442ef;p=oweals%2Fluci.git build: fix cursor_state() in setup.lua --- 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