Use --imscope flag to enable/disable imscope

This commit is contained in:
Bartosz Podrygajlo
2024-09-05 15:19:09 +02:00
parent bdc6df8c42
commit 6dcd3ae8c4
5 changed files with 20 additions and 10 deletions
+5
View File
@@ -99,6 +99,7 @@ void get_common_options(configmodule_interface_t *cfg, uint32_t execmask)
uint32_t start_websrv = 0;
uint32_t noS1 = 0, nonbiot = 0;
uint32_t rfsim = 0, do_forms = 0;
uint32_t enable_imscope = 0;
int nfapi_index = 0;
char *logmem_filename = NULL;
check_execmask(execmask);
@@ -158,6 +159,10 @@ void get_common_options(configmodule_interface_t *cfg, uint32_t execmask)
set_softmodem_optmask(SOFTMODEM_DOSCOPE_BIT);
}
if (enable_imscope) {
set_softmodem_optmask(SOFTMODEM_IMSCOPE_BIT);
}
if (start_websrv) {
load_module_shlib("websrv", NULL, 0, NULL);
}