force the uci savedir for the dummy variant
authorFelix Fietkau <nbd@openwrt.org>
Sun, 2 Oct 2011 22:24:31 +0000 (00:24 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 2 Oct 2011 22:24:31 +0000 (00:24 +0200)
config.c

index 65eaa81fe008f8aa0a2abd941e708c74d31cb0cd..3dda5cf8505a5077dfbcf240ff863a5f751555ae 100644 (file)
--- a/config.c
+++ b/config.c
@@ -218,6 +218,7 @@ config_init_interfaces(const char *name)
 
 #ifdef DUMMY_MODE
        uci_set_confdir(ctx, "./config");
+       uci_set_savedir(ctx, "./tmp");
 #endif
 
        if (uci_load(ctx, "network", &p)) {