From: John Crispin Date: Mon, 27 Oct 2014 15:51:17 +0000 (+0000) Subject: base-files: config_generate did not handle setups with more than 1 switch properly X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5a6433cc6ce6cc833cf6f27463d0b85e4d7587a5;p=openwrt%2Fstaging%2Fldir.git base-files: config_generate did not handle setups with more than 1 switch properly Signed-off-by: John Crispin SVN-Revision: 43088 --- diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index 9a3b30065d..7bec566f3f 100755 --- a/package/base-files/files/bin/config_generate +++ b/package/base-files/files/bin/config_generate @@ -102,8 +102,6 @@ generate_switch() { json_select $key json_get_vars enable reset blinkrate cpu_port - [ -n "$cpu_port" ] || return - uci -q batch <