swconfig: make reset and enable_vlan default to 1 (based on patch by Nikolay Martynov...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jul 2011 06:28:55 +0000 (06:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jul 2011 06:28:55 +0000 (06:28 +0000)
SVN-Revision: 27627

package/swconfig/src/uci.c

index e597ace..ce544c3 100644 (file)
@@ -46,8 +46,8 @@ struct swlib_setting {
 };
 
 struct swlib_setting early_settings[] = {
-       { .name = "reset" },
-       { .name = "enable_vlan" },
+       { .name = "reset", .val = "1" },
+       { .name = "enable_vlan", .val = "1" },
 };
 
 static struct swlib_setting *settings;