From 302b8769a5ad085bafc7d069171c551551b6f390 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 2 Jun 2022 17:25:16 +0200 Subject: [PATCH] added possibility to support several zone_groups and/or zones --- szeged/update.conf | 47 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/szeged/update.conf b/szeged/update.conf index 7fc1ff6..ccb4785 100644 --- a/szeged/update.conf +++ b/szeged/update.conf @@ -1,8 +1,21 @@ { + "c0" : "config-file for update process", + + "c1" : "ini-files section", "ini" : { + + "c2" : "location", "szeged" : { - "zg1" : { - "z1" : { + + "c3" : "each location can have multiple", + "c4" : "zone-groups and/or zones", + "c5" : "0-index used as size of following array", + "c6" : ".zg[0]: #n of zones_groups", + "c7" : ".zg[1].z[0]: #n of zones in zg[1]", + "c8" : ".zg[1].z[1]: zone 1 in zone_group 1", + "c9" : "-> .zg[1].z[1].opt.app.sysconfig.ISMASMgr ", + "zg" : [ 1, { + "z" : [ 1, { "opt" : { "app" : { "sysconfig" : { @@ -11,26 +24,40 @@ "SystemControl" : "00000000000000000000000000000000" } } - } - } - } + }} + ] + }] } }, + + "c10" : "conf-files section", "conf" : { + + "c11" : "location", "szeged" : { - "zg1" : { - "z1" : { + + "c12" : "each location can have multiple", + "c13" : "zone-groups and/or zones", + "c14" : "0-index used as size of following array", + "c15" : ".zg[0]: #n of zones_groups", + "c16" : ".zg[1].z[0]: #n of zones in zg[1]", + "c17" : ".zg[1].z[1]: zone 1 in zone_group 1", + "c18" : "-> .zg[1].z[1].etc.psa_config.emp ", + "zg" : [ 1, { + "z" : [ 1, { "etc" : { "psa_config" : { "emp" : "cc9e98e2d10ac55c121079f99c673661", "printer": "461d6c1a919e06ef2e6a0ac1677dd53f", "device" : "05cc52f8c4690efc0c833f5f196c74f9" } - } - } - } + }} + ] + }] } }, + + "c19" : "opkg-files section", "opkg" : { "atbqt" : { "Version" : "1.0.0-r1",