build: fix cursor_state() in setup.lua
This commit is contained in:
parent
cdfe9d6c7b
commit
4a6846f093
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ uci_model.cursor = function(config, save)
|
||||||
end
|
end
|
||||||
|
|
||||||
uci_model.cursor_state = function()
|
uci_model.cursor_state = function()
|
||||||
return uci_core.cursor(nil, SYSROOT .. "/var/state")
|
return uci_core.cursor(SYSROOT .. "/etc/config", SYSROOT .. "/var/state")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- override uvl access
|
-- override uvl access
|
||||||
|
|
Loading…
Reference in a new issue