summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorPierre MARZIN <pierre.marzin@iot.bzh>2019-04-01 10:35:57 +0200
committerPierre Marzin <pierre.marzin@iot.bzh>2019-04-02 08:16:29 +0000
commit36721c55b616bdce8b8f79ff3c7042ef54d18478 (patch)
tree652c6cd69ef9ce9727965d752c4d0c741d264afc /conf.d
parent074e6871959279c4aed3e162f21f677e08338b3a (diff)
pre-init: Add a config detection
Scan the loaded modules during pre-init to know which config file to load. If Avirt core module is loaded then load the avirt config file. Otherwise, load the default config file. Change the config file name in order to use the prefix to select them. Change-Id: I8f9d5ed568fa20b06ac3bef443a2392de26c8235 Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/project/etc/smixer-avirt-4a.json (renamed from conf.d/project/etc/smixer-4a-avirt.json)0
-rw-r--r--conf.d/project/etc/smixer-default-4a.json (renamed from conf.d/project/etc/smixer-4a-default.json)0
2 files changed, 0 insertions, 0 deletions
diff --git a/conf.d/project/etc/smixer-4a-avirt.json b/conf.d/project/etc/smixer-avirt-4a.json
index 18d6193..18d6193 100644
--- a/conf.d/project/etc/smixer-4a-avirt.json
+++ b/conf.d/project/etc/smixer-avirt-4a.json
diff --git a/conf.d/project/etc/smixer-4a-default.json b/conf.d/project/etc/smixer-default-4a.json
index d03a7a9..d03a7a9 100644
--- a/conf.d/project/etc/smixer-4a-default.json
+++ b/conf.d/project/etc/smixer-default-4a.json