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 65eaa81..3dda5cf 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)) {