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 6b19c5330679af956d4a5d6bcc285c3c54616f49..4a771540da633f0bbb84ba9631c027a165c7cefc 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