summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-14 18:26:03 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-05-14 19:50:49 +0200
commite8b0b3c3cc9b0453b88d1315822fda5963754ae7 (patch)
tree4734b19633ba1d9427b0bed938854298ed902822 /ctl-lib/ctl-config.c
parent41b43537bd98416d8e3f43ea82560240f94e74f0 (diff)
Fix: Dyn API Action loading procedure
Change-Id: Ibb7dbc32580100c588d06e283abb57cc37875312 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.c')
-rw-r--r--ctl-lib/ctl-config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctl-lib/ctl-config.c b/ctl-lib/ctl-config.c
index 2637188..5503db1 100644
--- a/ctl-lib/ctl-config.c
+++ b/ctl-lib/ctl-config.c
@@ -108,6 +108,11 @@ int CtlConfigExec(AFB_ApiT apiHandle, CtlConfigT *ctlConfig) {
}
}
+#ifdef CONTROL_SUPPORT_LUA
+ // load static LUA utilities
+ LuaConfigExec(apiHandle);
+#endif
+
// Loop on every section and process config
int errcount=0;
for (int idx = 0; ctlConfig->sections[idx].key != NULL; idx++) {