build: fix cursor_state() in setup.lua
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Aug 2009 04:55:48 +0000 (04:55 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Aug 2009 04:55:48 +0000 (04:55 +0000)
build/setup.lua

index 6b19c53..4a77154 100644 (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