summaryrefslogtreecommitdiff
path: root/package/swconfig/src
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 04:20:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 04:20:18 +0000
commitda46ade1fea521eea85e8d8785b04f690a3d8fa4 (patch)
tree6c1bec29e7991477fa4a8300f5488f983b5ff51a /package/swconfig/src
parent050e164d86fbd52db0cc4f4308c31d62b2c10651 (diff)
swconfig: make reset and enable_vlan default to 1 (based on patch by Nikolay Martynov)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27375 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/swconfig/src')
-rw-r--r--package/swconfig/src/uci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/swconfig/src/uci.c b/package/swconfig/src/uci.c
index e597acebfb..ce544c3d58 100644
--- a/package/swconfig/src/uci.c
+++ b/package/swconfig/src/uci.c
@@ -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;