swconfig: make reset and enable_vlan default to 1 (based on patch by Nikolay Martynov)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jul 2011 04:20:18 +0000 (04:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jul 2011 04:20:18 +0000 (04:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27375 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
This page took 0.029394 seconds and 4 git commands to generate.