build: fix cursor_state() in setup.lua

This commit is contained in:
Jo-Philipp Wich 2009-08-13 04:55:48 +00:00
parent cdfe9d6c7b
commit 4a6846f093

View file

@ -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