From edeaa79757ac79c2ccdc0bf7ff566b22ffa608ac Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 27 Oct 2014 15:51:17 +0000 Subject: [PATCH] base-files: config_generate did not handle setups with more than 1 switch properly Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43088 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/bin/config_generate | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 <