From da46ade1fea521eea85e8d8785b04f690a3d8fa4 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 3 Jul 2011 04:20:18 +0000 Subject: [PATCH] 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 --- package/swconfig/src/uci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/swconfig/src/uci.c b/package/swconfig/src/uci.c index e597acebf..ce544c3d5 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; -- 2.20.1