From 5a6433cc6ce6cc833cf6f27463d0b85e4d7587a5 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 SVN-Revision: 43088 --- 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 9a3b30065d8..7bec566f3f7 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 <